Version: Level 1
Compability: IE4+ N4+
| Length | Abbrev. |
|---|---|
| centimeters | cm |
| ems | em |
| inches | in |
| millimeters | mm |
| picas | pc |
| pixels | px |
| points | pt |
The text-indent property indents the first line of text to the right or left by the specified length or percentage. If the length or percentage is a negative number, the line is indented to the left. A positive number indents to the right. This property is inherited.
p { text-indent: 0.5in; }
p { text-indent: -15pc; }
p { text-indent: 24pt; }
p { text-indent: 5.5%; }
p { text-indent: -8%; }p.one { text-indent: 25px; }
...
<p>
We are a premier developers' resource featuring over three thousand pages containing comprehensive quick reference guides, tutorials, knowledge base articles, and useful products to serve a wide range of developers' needs.
</p>
We are a premier developers' resource featuring over three thousand pages containing comprehensive quick reference guides, tutorials, knowledge base articles, and useful products to serve a wide range of developers' needs.