How to word wrap text in HTML?

Try this:

div {
    width: 200px;
    word-wrap: break-word;
}

Leave a Comment