Menu Riverview Church

TEXT-INDENT

The text-indent property specifies the indentation applied to lines of inline content in a block.

SYNTAX

CSS

text-indent: value;

JS

object.style.textIndent = "value";

VALUES

<'text-indent'> = [ <length-percentage> ] && hanging? && each-line?
<length-percentage> = [ <length> | <percentage> ]
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

hanging

Inverts which lines are affected.

each-line

Indentation affects the first line of each block container and each line after a forced line break (but not lines after a soft wrap break).

INITIAL

0

EXAMPLES

LENGTH

PERCENTAGE

HANGING

EACH-LINE

JS

INTERNAL

tab-size

EXTERNAL

World Wide Web Consortium (W3C)