The line break HTML tag: br lets you start your text on a new line, but without starting a new paragraph. The line break tag is a self-closing HTML tag.
Because there is no content to display on-screen, the line break tag is a single tag.
In this example, we’ve used both the <p> tag, and the <br> tag, see code below:
<p>To force<br> line breaks<br> in a text,<br> use the br<br> element.</p>
The above HTML code displays the following output:
in a text,
use the br
A SELF-CLOSING HTML tag is an opening and closing tag rolled into one.
Only some kinds of tag are used this way.
You can spot a self-closing tag because the forward slash / comes at the end of the tag, rather than at the beginning as it does for a regular closing tag.
Definition and Usage
The <br> tag inserts a single line break.
The <br> tag is useful for writing addresses or poems.
The <br> tag is an empty tag which means that it has no end tag.