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 it can be right if it is in right-to-left mode.


Try Yourself