CSS
CSS TextCSS Text
CSS formats the layout and spacing of text.
Read Time
5 min readDifficulty
BeginnerLast Updated
Jun 15, 2026Version
v1.0.0Introduction
CSS provides numerous properties to control how text sits on the screen. Developers use these properties to align text, add underlines, transform case, and adjust spacing. This gives complete control over typography.
Example
Example
Key Points
- The `text-align` property centers or justifies text.
- The `text-decoration` property adds or removes underlines.
- The `text-transform` property forces uppercase or lowercase.
- The `letter-spacing` property changes character gaps.