<br>

The HTML <br> element creates a line break in text, making the following content begin on a new line without adding extra vertical space.

br tag

The HTML <br> element introduces a line break within text. It is particularly useful for formatting content like addresses or poetry, where maintaining line separation is essential.

Syntax

index.html
Text before the line break <br>
Text after the line break

br Demo

The br element

To force
line breaks
in a text,
use the br
element.

index.html
<h1>The br element</h1>
<p>To force<br> line breaks<br> in a text,<br> use the br<br> element.</p>
The <br> element is commonly used to add line breaks in postal addresses.

Attributes

This element supports global attributes.

See also

Conclusion

The <br> element in HTML is used to insert line breaks, ensuring proper text formatting for cases like poetry or addresses. It is a self-closing tag, meaning it does not require an end tag. By introducing line breaks, it helps improve text readability and layout when needed.