text-indent

Previous- text-align  |  Next-line-height

Description

The text-indent property can be applied to block-level elements (P, H1, etc.) to define the amount of indentation that the first line of the element should receive.

The value must be a length or a percentage; percentages refer to the parent element's width. A common use of text-indent would be to indent a paragraph.



Applies to : block-level elements

Inherited : yes

Possible Values
<length> | <percentage> | inherit

Example(s)
p { text-indent: 3em }

Previous- text-align  |  Next-line-height