When the text-transform property is set to 'capitalize', what is the result? A) All letters become lowercase. B) All letters become uppercase. C) Only the first letter of each word... When the text-transform property is set to 'capitalize', what is the result? A) All letters become lowercase. B) All letters become uppercase. C) Only the first letter of each word becomes uppercase. D) No changes are made to the text case.
Understand the Problem
The question is asking about the effect of the CSS 'text-transform' property when it is set to 'capitalize'. It specifically wants to know how this property affects the capitalization of letters in text.
Answer
Only the first letter of each word becomes uppercase.
The final answer is C) Only the first letter of each word becomes uppercase.
Answer for screen readers
The final answer is C) Only the first letter of each word becomes uppercase.
More Information
The 'capitalize' value of the text-transform property transforms the first letter of each word to uppercase. This is common in styling headings or titles.
Tips
A common mistake is assuming 'capitalize' will make the entire text uppercase or lowercase, but it only affects the first letter of each word.
Sources
- CSS text-transform Property - GeeksforGeeks - geeksforgeeks.org
- text-transform - CSS: Cascading Style Sheets - MDN Web Docs - developer.mozilla.org
- What is text-transform in CSS? Explanation and examples - SheCodes - shecodes.io
AI-generated content may contain errors. Please verify critical information