The <br> element represents a break in text. It is used when text needs to span multiple lines rather than being in-line, such as in an address.


Text that will appear on one line.<br />Text that will appear on the next line.

The <br> is a self-closing tag and will move the text after it to a new line. The forward-slash / is optional.


In the example below, text for an address is contained in a single <p> element. If the address were to be printed on a label, it should be formatted in a standard way to avoid confusion. This is done with self-closing <br> tags:

<head> </head>
<h3>Payment Address:</h3>
5000 Sheffield Street <br />
Suite #210 <br />
Smithville Flats, MO, 11110

Output of the br tag example


Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn HTML on Codecademy