CSS text-indent property

CSS text-indent

CSS text-indent is used to specify the indentation of the first line in the text block, but this can be changed using hanging and each-line keywords.

Negative values can also be given.

The starting edge is usually on the left, but can be right if in right-to-left mode.

Example

Try Yourself