Style wordBreak Property
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.
The wordBreak property is supported in all major browsers.
Return the wordBreak property:
Set the wordBreak property:
|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|
|Return Value:||A String, representing the word-break property of an element|
CSS reference: word-break property
Thank You For Helping Us!
Your message has been sent to W3Schools.