Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

text-wrap

3 tags 1 category

The text-wrap CSS shorthand property controls how text inside an element is wrapped. The different values provide:

Typographic improvements, for example more balanced line lengths across broken headings A way to turn text wrapping off completely.

There are 2 ways that text can flow across lines within a block of content, such as a paragraph (<p>) or headings (<<h1>–<h6>>). These are forced line breaks, that are controlled by the user, and soft line breaks, that are controlled by the browser. The text-wrap property can be used to prompt the browser how to control the soft line breaks.

Syntax example: text-wrap: wrap;

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…