Where ordinary indentation signals "a new paragraph starts here," a hanging indent shows "how far this entry runs." In structures like bibliography entries, dictionary headwords, or numbered legal clauses — a short "label" (author name, headword, clause number) followed by longer running text — pinning the label's first line to the left and indenting the continuation lines visually separates label from body.
The classic CSS technique gives `text-indent` a negative value and adds the same amount back as `padding-left` (or `margin-left`): `text-indent: -1.5em; padding-left: 1.5em;`. Only the first line is affected by `text-indent`, so it gets pulled left, while every other line stays indented by the padding.
The newer `text-indent: 3em hanging` syntax states the intent explicitly but has uneven browser support. The demo checks live with `CSS.supports` whether this newer keyword actually works here, and regardless of the result, shows the visual using the classic negative-indent technique, which works everywhere.
When to use
Use for repeating "short label + long content" structures — bibliographies, glossaries, numbered lists. Not needed for ordinary body paragraphs.