For paragraph breaks instead of line breaks. Learn more →
<br> ElementThe line break element produces a line break in text. It’s useful for content where line breaks are significant, such as poems, addresses, or song lyrics.
<!-- HTML5 --><br>
<!-- XHTML (also valid in HTML5) --><br />The <br> element is a void element (self-closing), meaning it has no content or closing tag.
<br><!-- Don't use <br> for vertical spacing --><p>First paragraph</p><br><br><p>Second paragraph</p><!-- Use CSS for spacing --><style> p { margin-bottom: 2em; }</style><p>First paragraph</p><p>Second paragraph</p>This is the first paragraph.<br><br>This is the second paragraph.<br><br>This is the third paragraph.<p>This is the first paragraph.</p><p>This is the second paragraph.</p><p>This is the third paragraph.</p><div> Name: John<br><br><br> Email: [email protected]</div><div class="form-group"> <label>Name: John</label></div><div class="form-group"></div>You can style the space around line breaks using CSS:
Screen readers announce <br> as a pause or line break, helping users understand the content structure.
Consider more semantic alternatives when appropriate:
<!-- Instead of this --><p> Task 1<br> Task 2<br> Task 3</p>
<!-- Consider this --><ul> <li>Task 1</li> <li>Task 2</li> <li>Task 3</li></ul>Line one<br><br>Line two<br><br>Line three<p>Line one</p><p>Line two</p><p>Line three</p>Line breaks are fixed and don’t adapt to screen size. For responsive layouts, consider CSS instead:
| Browser | Version | Notes |
|---|---|---|
| Chrome | 1+ | Full support |
| Firefox | 1+ | Full support |
| Safari | 1+ | Full support |
| Edge | 12+ | Full support |
| IE | 3+ | Full support |
The <br> element has been supported since the earliest browsers.
For paragraph breaks instead of line breaks. Learn more →
Suggests optional line break opportunities. Learn more →
For thematic breaks between content. Learn more →