CSS Properties

User Guide / CSS Properties

text-indent

Syntax

text-indent: length hanging?

Initial Value

text-indent: 0

Inherited

Yes

Comments

This property determines the indentation of the first line of text in the element. If the hanging keyword is added after the length, a hanging indent will be created by applying the indentation to every line of text but the first.