Name

text-indent

Synopsis

Specifies an amount of indent for the first line of text in a block-level element.

Values:

<length> | <percentage> | inherit

Initial value:

0

Applies to:

Block-level elements and table cells.

Inherited:

Yes.

Percentages:

Refer to the width of the containing block.

Computed value:

Percentage values or absolute length, as specified.

Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.