The word-break property specifies the line-breaking behavior within words.
p {
word-break: break-all;
}
Property |
Value |
Explanation |
word-break |
normal |
normal line-breaking (default) |
break-all |
allows line-breaking within words (for non-Asian text) |
keep-all |
not allow line-breaking within words (for Asian text) |
Example