AdBlock Detected!
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.
CSS Text-Indent Property |
The text-indent property specifies how much space to indent before the first line of text in a block. The syntax for text-indent is as follows:
Two types of <value> are possible:
Below are some examples. Example 1: Text-indent as absolute length
The following HTML,
renders
Example 2: Text-indent as a percentage of the element width
The following HTML,
renders
CSS3 has introduced an optional <keyword> component to text-indent. The syntax is as follows:
There are two possible values for <keyword>:
Most major browsers have not implemented the <keyword> component for text-indent at this time. |
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.