Understanding the text-align Attribute in CSS

Answered using GPT-4o mini by AI Answer Generator

Question:

The ____ attribute determines the horizontal alignment of text. a. text-center b. text-align c. text-margin d. text-placement

Answer:

The correct answer is b. text-align.

The text-align attribute (or property in CSS) is used to set the horizontal alignment of text within an element.