Example
A simple word-break property example:
Laboratory
description & Usage
The word-break property determines how to break text when it needs to break on one line and continue to the next line.
Browser compatibility and Support
# |
Chrome |
Edge |
Firefox |
Safari |
Opera |
word-break |
|
|
|
|
|
Values
Values |
Description |
normal
|
Default
|
break-all
|
The word may be broken at any character.
|
keep-all
|
Word breaks should not be used for Chinese, Japanese and Korean languages because the behavior of CJK texts is the same as the normal behavior.
|
initial
|
Adds this value to its default property.
|
inherit
|
It inherits this value from its parent tag.
|