HTML <br> tag or element is used to break line in a paragraph.

It is generally used in poem or address where the division of line is necessary.

It is an empty tag, means it does not need a company of end tag.

Don’t use br tag for margin between two paragraphs, use CSS margin property instead.

Difference between HTML <br> and <br/>

You can use HTML br tag two ways: <br> or <br/>. It is recommended to use closed br tag <br/> because it is supported in HTML and XHTML both.

HTML br tag example

 <p>If you want to break line<br>in a paragraph,<br>use the br element.</p>


If you want to break line
in a paragraph,
use the br element.

BR tag in HTML and XHTML

In HTML br tag need not to be closed e.g. <br> whereas br tag must be properly closed in XHTML e.g. <br/>.