CSS Word Wrap

tutorial and example
tutorial and example

It is used to breaks the long words and wrap to the next line. It avoid the overflow when an unbreakable string is too long to fit in the containing box.

CSS Word Wrap Values

Wrap value Description
normal It is used to break the word only at allowed break points.
break-word It is used to break unbreakable words.
initial It is used to set this property to its default value.
inherit It is used to inherit the property from its parent element.

Let us see an example of CSS word wrap values:

Try Now