Font Tester

text-indent

text-indent (CSS Property)

The text-indent property allows you to indent your text. Text indentation is simply a small amount of space before the first word of the first sentence of a paragraph (or any block-level element for that matter). All of the other lines of your paragraph will still be in their usual positions, only the first line will be affected by this property. According to the W3C...

"The text-indent property specifies the indentation of the first box that flows into the block's first line box."

Here is an example of a paragraph with an indentation of 1.5em...

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed scelerisque orci a dolor. Ut a eros nec turpis rutrum placerat. Aenean dignissim rhoncus ipsum. Nulla facilisi. Donec auctor semper eros. Nam vitae eros sit amet metus aliquam iaculis. Fusce ut risus nec felis tincidunt viverra.

TipTip: This property is optional. If you would like to include it in your generated CSS code simply check the checkbox by it's name (to enable it) and then enter in a value and choose a CSS length unit. For example, I may type in "1.5" for it's value and "em" for it's length unit, making it's total value "1.5em". For an explanation of all the different CSS length units, consult the section of the manual entitled CSS Length Units.

Read an official description of the text-indent property from the W3C