Search within TutorialsPark

CSS3 word-break Property


To specify the way any word should break


Definition and Notes.

1. The CSS word-break property is used to define how to break lines within words.

2. It is used for CJK(Chinese/Japanese/Korean) languages


Syntax:

CSS word-break property. internetexplorer safari firefox opera chrome

View in Splitscreen»

Code-Editor:



Property Values

Value Description
normal The normal line breaking style is used. Its the default
break-all Words breaks can be done between any characters from non CJK(Chinese/Japanese/Korean) text
keep-all To not allow word breaks for CJK(Chinese/Japanese/Korean) Text.

Specifications

Specs Value
Name word-break
Value normal | break-all | keep-all
Initial Value normal
Applies to All elements
Javascript syntax object.style.wordBreak="break-all"
Inherited Yes
Computed Value Same as declared Value
Browser Support internetexplorer safari firefox opera chrome

Related Examples.