CSS text-indent property

CSS text-indent

CSS text-indent is used to specify the indentation of the first line in the text block.

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