html to string with line break code example
Example 1: how to do a line break in html
<p>To force<br> line breaks<br> in a text,<br> use the br<br> element.</p>
Example 2: html line break
<!-- an HTML line break is a <br> tag. -->
<p>This is a paragraph <br> this will be on the next line as a br tag
is there before it.
A br tag is an empty tag as it doesnt contain any content</p>