html tag for line break code example

Example 1: how to break the line in html

<p> I'm about to break the line <br> right there </p>

Example 2: 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 3: br tag html

<br>
<h1>A line break</h1>
<br>
<h1>Another line break</h1>

Example 4: 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>

Tags:

Html Example