HTML <br> tag

Updated: 11/13/2018 by Computer Hope
HTML break tag

When writing in HTML (hypertext markup language), 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, and related attributes and browser compatibility.

Example of <br> 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

All HTML tags support standard attributes that define the settings of an HTML element. Unlike other HTML tags, the <br> tag has no unique attributes.

Compatibility

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

BR, Browser, Compatibility, Web design terms