🔤Text Alignment
Also known as Justified Text, Flush Left, Ragged Right
Which edge lines of text line up on: left, right, center or both.
Think of it like
It is like lining up books on a shelf. Push them to one side, or to the middle.
Example
A blog switches from justified to left-aligned text. The odd wide gaps between words disappear.
Why it matters
A clean starting edge helps the eye find the start of every line.
Definition
Example code
css
p {
text-align: start;
}Common mistake
Key takeaways
- 1Start edge for reading. Left in English, right in Persian.
- 2Center for short bits. Titles and a few lines.
- 3Justify with care. Watch for rivers of space.