HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

word-break

Description

The word-break property for CSS specifies soft wrap opportunities between letters.

Syntax

CSS

word-break: value;

JS

object.style.wordBreak = "value";

Values

<'word-break'> = normal | keep-all | break-all | break-word
normal

Words break according to their customary rules.

keep-all

Breaking is forbidden within "words".

break-all

Breaking is allowed within "words".

break-word

Same effect as word-break: normal and overflow-wrap: anywhere.

Initial

normal

Examples

1 · break-all

2 · break-word

3 · keep-all

4 · normal

5 · JS