HTML <br> tag

Updated: 10/11/2017 by Computer Hope

HTML break tagWhen writing in HTML, the <br> tag is an inline element used to create a single line break in a document. It is useful for writing where the division of lines is significant, such as an address. The following sections contain information about this tag, including an example of it in use, as well as related attributes and browser compatibility.

Example code

If you need a single return<br>use a line break.

Example result

If you need a single return
use a line break.

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <br> tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
All versions All versions All version All versions All versions

Browser, Compatibility, Web design terms