Extensible HyperText Markup Language

XHTML.com recommends: PSD to HTML Slicing Service and PSD to HTML by W3 Markup. see your link here

text-indent

Definition

The text-indent property specifies the indentation of the first line of text as shown in the screen shot below.

Screen shot of a Web browser showing the first line indented in a multi-line paragraph.

Example

  1. p {text-indent: 40px}

Characteristics

Possible values

length
The indentation is of a fixed length.
percentage
The indentation is a percentage of the containing block width.
inherit
Use the same computed value as the parent element for this property.

Default value

0

Applies to

Block-level elements, table cells (th and td) and elements with display property set to inline-block.

Inherited

Yes

See also