1.2. color, text-align, vertical-align, text-decoration, text-indent, text-shadow


This is a heading

This is a paragraph

The text inside the paragraph is green.


This paragraph is aligned to left.

This paragraph is aligned to right.

This paragraph is aligned to center.

Top Middle Bottom

This is an inline text example.

This is a sub line text example.

This is a super line text example.

This is a pixel example.


This is default style of the text (none).

This text inherits the decoration of the parent.

This is overlined text.

This is underlined text.

This is lined-through text.


This is an example of text-indent property. First line of our text is indented to the right in 60px. Besides pixels you can also use other measurement units, like pt, cm, em, etc.


Text-shadow example

Text-shadow with blur effect


This value transforms all characters to capitalize.

This value transforms all characters to uppercase.

This value transforms all characters to lowercase.


Nhận xét