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 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

Word Wrap Property in CSS

The word-wrap Property



The word-wrap property allows long words to be broken and wrapped into the next line. It takes two values: normal and break-word. When the word is too long and the break-word property is applied to it, the browser will break that word in order to fit that word into the container.




Its syntax is:-

< style >


word-wrap: normal| break-word| initial| inherit;


< /style >


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 CSS3

All Sections related to CSS