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.
word-wrap: normal | break-word;
.div-1 {
word-wrap: normal;
}
.div-2 {
word-wrap: break-word;
}
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.