HTML
Line Break Tag

The HTML <br> element inserts a line break within text. It is useful where line breaks are part of the content, such as addresses or poetry. Do not use repeated <br> tags to create layout spacing.

<address>10 Lake Road<br>Hyderabad<br>India</address>

BR is a void element Top ↑

<br> has no closing tag. In HTML, write <br>; the slash form <br /> is also parsed but is not required in HTML syntax.

Use CSS for visual spacing Top ↑

.section { margin-bottom: 2rem; }

Source line breaks are different Top ↑

Ordinary source-code line breaks are usually collapsed like other whitespace. Use <pre> when whitespace itself must be preserved.

Frequently Asked Questions Top ↑

Is BR a paired tag?

No. BR is a void element.

Should BR be used for spacing?

No. Use CSS margins, padding or gap for layout spacing.

When is BR appropriate?

When the line break is part of the content, such as an address or poem.

Does pressing Enter in HTML create a BR?

No. Normal whitespace is generally collapsed.

Can I use multiple BR tags in a row?

Browsers will render them, but CSS is the better tool for visual spacing.





plus2net.com










✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer