asp.net.ph

Skip Navigation Links

word-break Attribute | wordBreak Property

Language References


Specifies line-breaking behavior within words, particularly where multiple languages appear in the object.

Syntax


CSS { word-break : 'normal' | 'break-all' | 'keep-all' }
Script object.style.wordBreak [ = sBreak ]

Possible Values


normal Allows line breaking within words according to the rules of the language for Asian and nonAsian text.
break-all Behaves the same as normal for Asian text, yet allows the line to break arbitrarily for nonAsian text. This value is suited text comprised primarily of Asian text, with some excerpts of nonAsian text.
keep-all Does not allow word breaking for Chinese, Japanese, and Korean. Functions the same way as normal for all nonAsian languages. This value is optimized for text that includes small amounts of Chinese, Japanese, or Korean.

The property is read/write with a default value of normal; the proposed cascading stylesheet ( CSS ) extension attribute is inherited.

See Also

lineBreak



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note