CSS Word Wrap

Facebooktwitterredditpinterestlinkedinmailby feather

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

Facebooktwitterredditpinterestlinkedinmailby feather

Leave a Comment