Free CSS Text Indent Generator

Control first-line indentation with our free tool. Text-indent for paragraphs and lists.

Frequently Asked Questions

What is text-indent?

text-indent offsets the first line of text in a block. Positive values indent inward (traditional paragraph style), negative values create hanging indents.

How do I create a hanging indent?

Use negative text-indent with positive padding-left: text-indent: -2em; padding-left: 2em. First line extends left while rest is indented.

Should I indent paragraphs on the web?

Traditional print uses indentation. Web typically uses spacing between paragraphs. Use indentation when matching print style or for certain content types.