CSS | text-indent Property
The text-indent property in CSS is used to define the indentation of the first line in each block of text. It also take negative values. It means if the value is negative then the first line will be indented to the left.
- length: It is used to set fixed indentation in terms of px, pt, cm, em etc. The default value of length is 0.
- percentage (%): It is used to define the indentation in % as compared to the width of the element.
- initial: It is used to set text-indent property to its default value.
Supported Browsers: The browser supported by CSS text-indent property are listed below:
- Google Chrome 1.0
- Edge 12.0
- Internet Explorer 3.0
- Firefox 1.0
- Safari 1.0
- Opera 3.5