text-indent Description:
The text-indent property defines the indentation of the first line of the element.
text-indent in CSS Versions:
text-indent Syntax:
text-indent: <length> | <percentage> | inherit
- length
A specific length (include unit of measure) to indent or outdent the first line. - percentage
A percentage of the parent element's width to indent or outdent the first line. - inherit
The element should have the same text-indent setting as the parent.
text-indent Initial Value:
0
text-indent Applies To:
All block-level elements.
text-indent Inheritance:
This property is inherited.
text-indent Browser Support:
text-indent Examples:
Uppercase
<p style="text-indent: 1em;>
The first line in this paragraph is indented 1em while any subsequent lines will be aligned on the right margin.
</p>
text-indent Special Notes:
- Negative values are permitted, but may not display correctly if there are implementation limits (such as no space available to outdent the text).
More text-indent Information:

