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 wrap Property

CSS word-wrap Property

 

 

The word-wrap property is used to allow long words to be able to be broken and wrap onto the next line.

 

Default Value:-

 

Its default value is normal.

 

Syntax:-

 

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

 

Further Explanation:-

 

Value Description
normal Break words only at allowed break points.
break-word Allows unbreakable words to be broken
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