# 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.

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

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=1)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/text-indent
