CSS Text Styling

CSS provides a range of properties of style text, including color, alignment, decoration, transformation, and more.

Text Color

The color property sets the text color.

Tutorials dojo strip
CSS


Text Alignment

The text-align property aligns text horizontally.

CSS


Text Decoration

The text-decoration property adds decorations like underline, overline, or line-through.

CSS


Text Transform

The text-transform property controls the capitalization of text.

CSS


Text Indent

The text-indent property indents the first line of text.

CSS


Letter Spacing

The letter-spacing property adjusts the spacing between letters.

CSS


Word Spacing

The word-spacing property adjusts the spacing between words.

CSS


Text Shadow

The text-shadow property adds shadow to text.

CSS


White Space

The white-space property controls how white space inside an element is handled.

CSS




CSS Text Styling Example Code

HTML/CSS




CSS Labs

Tutorials dojo strip