Menu
Samaritan's Purse

WORD-BREAK

The word-break property 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

NORMAL

KEEP-ALL

BREAK-ALL

BREAK-WORD

JS

INTERNAL

hyphens

line-break

overflow-wrap

word-wrap

EXTERNAL

World Wide Web Consortium (W3C)