How To Word Wrap Text In HTML
Here we consider how to word wrap text in HTML.
Lets start with one example here.
Suppose we have a Div with some text inside as shown below.
This Div is provided with a particular Width and yellow background .
If the length of text exceeds the width of the Div, it would overflow outside the Div.
For wrapping this lengthy text inside the Div, apply follwing style for the Div.
By applying above style, we can wrap the text within Div.