Beginner
HTML & CSS
Q29 / 100
What does the CSS "text-align: center" property do?
Correct! Well done.
Incorrect.
The correct answer is B) Centers the text content horizontally within its containing element
B
Correct Answer
Centers the text content horizontally within its containing element
Explanation
text-align controls the horizontal alignment of inline content (like text) within its block-level container.
Progress
29/100