<br>
The <br> HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| 1 | 12 | 1 | 1 | 18 | 1 | |
| DOM API | ||||||
| The HTMLBRElement interface represents an HTML line break element (br). It inherits from HTMLElement. | 1 | 12 | 1 | 3 | 18 | 1 |
1+Supported (version) Not supported ※Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Syntax
HTML
<address>
1-2-3 Sample<br>
Building,<br>
Shibuya-ku, Tokyo 150-0001
</address> Live demo
Address. change row
Br element in Address. each row change row.meaning. existschange row to usage.
PreviewFullscreen
Br and p. Compare Usage
change row(br) and paragraph(p). Compare usage visual to comparison.
PreviewFullscreen
Use cases
-
Using <br>
The <br> HTML element produces a line break in text (carriage-return).
Cautions
- May not be supported in older browsers.
Accessibility
- Verify how this element is announced by screen readers.