Text indent

say it: “TEKST in-DENT” /tɛkst ɪnˈdɛnt/

Indents the first line of a block of text, like the start of a paragraph in a novel.

What does text-indent do?

text-indent moves only the first line of a block in from the left. Books mark new paragraphs this way instead of leaving a blank line between them, so the two usually go together: an indent and no margin.

.story p {
  text-indent: 1.5em;
  margin: 0;
}

Level: Novice · More CSS terms at this level

Updated