Style wordBreak Property

Style Object Reference Style Object


Break words between any two letters:


Try it yourself »

Definition and Usage

The wordBreak property specifies line breaking rules for non-CJK scripts.

Tip: CJK scripts are Chinese, Japanese and Korean ("CJK") scripts.

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The wordBreak property is supported in all major browsers.


Return the wordBreak property:

Set the wordBreak property:"normal|break-all|keep-all|initial|inherit"

Property Values

Value Description
normal Default value. Break words according to their usual rules
break-all Lines may break between any two letters
keep-all  Breaks are prohibited between pairs of letters
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit

Technical Details

Default Value: normal
Return Value: A String, representing the word-break property of an element
CSS Version CSS3

Related Pages

CSS reference: word-break property

Style Object Reference Style Object


Color Picker