Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
Website builder

CSS text-indent

Also see the full, alphabetical list of CSS properties


The CSS text-indent property is used for indenting the first line of text.

Syntax: text-indent: <value>
Possible Values:
  • <length>
  • <percentage>
  • inherit
Initial Value: 0
Applies to: Block level elements
Inherited: Yes
Media: Visual
Example: p { text-indent: 10% }
Try it yourself!


Also see all CSS properties listed alphabetically


Enjoy this page?

  1. Add this page to your Favorites
  2. Link to this page (copy/paste into your own website or blog):
  3. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!