🎴 Flashcard Mode
Web Technologies: Backend & CSS
Card1 / 20
Mastered0
Review0
QuestionClick to flip
How do you make each word in a text start with a capital letter?
AnswerClick to flip back
A
text-transform:capitalize
💡 Explanation:
The CSS property 'text-transform: capitalize' capitalizes the first letter of each word. 'text-transform: capital' is invalid - no such value exists. 'uppercase' would make ALL letters uppercase, not just the first. CSS can definitely do this.