Easy Tutorial
❮ Css3 Pr Box Flex Func Attr ❯

CSS3 word-break Property

Example

Break lines at appropriate points:


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Property
word-break 4.0 5.5 15.0 3.1 15.0

Property Definition and Usage

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

Note: CJK scripts refer to Chinese, Japanese, and Korean scripts.

Default value: normal
Inherited: yes
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.wordBreak="break-all"
--- ---

Syntax

Value Description
normal Uses the browser's default line breaking rules.
break-all Allows line breaks within words.
keep-all Line breaks can only occur at half-width spaces or hyphens.
❮ Css3 Pr Box Flex Func Attr ❯