CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS word break Property

CSS word-break Property

 

 

The word-break property is used to specify how words should break when reaching the end of a line.

 

Default Value:-

 

Its default value is normal.

 

Syntax:-

 

Its syntax is:- word-break: normal | break-all | keep-all | break-word | initial | inherit;

 

Further Explanation:-

 

Value Description
normal Uses default line break rules
break-all To prevent overflow, the word may be broken at any character
keep-all  Uses line break rules except for Non-CJK text.
break-word To prevent overflow, words may be broken at arbitrary points
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS