Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS text-indent definition

Browser support
IEFFOpSaf

Type:

Syntax

text-indent: <length> | <percentage>

Description

The text-indent property sets the indentation of the text, meaning the size of the empty space before the text.

Values

<length> | <percentage

Example

[Try this example yourself]
<p style="text-indent: 1cm;">
  Example text
</p>

Output

Example text

  • Comments

No comments added.