The <br> 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.

Content categories Flow content, phrasing content.
Permitted content None, it is an empty element.
Tag omission Must have a start tag, and must not have an end tag. In XHTML documents, write this element as <br />.
Permitted parents Any element that accepts phrasing content.
Permitted ARIA roles Any
DOM interface HTMLBRElement


This element's attributes include the global attributes.

clear Deprecated since HTML4.01 Obsolete since HTML5
Indicates where to begin the next line after the break.

Usage note: This attribute is obsolete in HTML5 and should not be used by authors. Use the CSS clear property instead.


Do not use <br> to increase the gap between lines of text; use the CSS margin property or the <p> element.


Mozilla Foundation<br>
1981 Landings Drive<br>
Building K<br>
Mountain View, CA 94043-0801<br>

The HTML above outputs:

Mozilla Foundation
1981 Landings Drive
Building K
Mountain View, CA 94043-0801


Browser compatibility

Feature Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 1 Yes 1 Yes Yes Yes
clear 1 Yes 1 Yes Yes Yes
Feature Android webview Chrome for Android Edge mobile Firefox for Android IE mobile Opera Android iOS Safari
Basic support Yes Yes Yes 4 Yes Yes Yes
clear Yes Yes Yes 4 Yes Yes Yes

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.