CSS Property:
overflow-wrap:

Result:
This div contains a very long word: thisisaveryveryveryveryveryverylongword.
CSS Code:
#myDIV {
width:150px;
overflow-wrap:normal;
}
Click the property values above to see the result
W3Schools.com - Play it