CSS · Properties — CSS Text

text-wrap

The CSS text-wrap property. Initial value: wrap. Inherited.

Syntax
text-wrap: <'text-wrap-mode'> || <'text-wrap-style'>

Example

Try it

Notes

Media: visual. Applies to: textAndBlockContainers. Computed value: text-wrap-mode,text-wrap-style.

More in this group

hanging-punctuation hyphenate-character hyphenate-limit-chars hyphens line-break tab-size text-align-last text-autospace

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course