Text alignment
noun
say it: “TEKST uh-LYNE-ment” /tɛkst əˈlaɪnmənt/
Lining up lines of text along the left edge, the right edge or the center of their box. In CSS, the text-align property sets it.
What does text-align do?
text-align lines text up to the left, right or center of its box.
.page-title { text-align: center; }
In a sentence
- “I kept the text alignment left for the long paragraphs and centered only the short headline.”
Level: Novice · More CSS terms at this level
Updated