CSS · Properties — CSS Text

word-break

The CSS word-break property. Initial value: normal. Inherited.

Syntax
word-break: normal | break-all | keep-all | break-word | auto-phrase

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

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