ScanSkill

word-wrap

The word-wrap property allows long words to break when it reaches the end of the line and display the remaining characters onto the next line.

Syntax

word-wrap: normal | break-word;

Example

.div-1 {
            word-wrap: normal;
        }

        .div-2 {
            word-wrap: break-word;
        }
word-wrap

Property Values

normal: breaks the words only at breakable points. (Default value)

break-word: breaks the word even at breakable points when it reaches the end of the line.