Tag <br> HTML Reference



Example

A line break is marked up as follows:

This text contains<br />a line break.

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

1. Definition and Usage

The <br> tag inserts a single line break. 

The <br> tag is an empty tag which means that it has no end tag.


2. Tips and Notes

Note: Use the <br> tag to insert line breaks, not to create paragraphs.


3. Differences Between HTML 4.01 and HTML5

None


4. Differences Between HTML and XHTML

In HTML the <br> tag has no end tag.

In XHTML the <br> tag must be properly closed, like this: <br />.


5. Standard Attributes

The <br> tag supports the Standard Attributes in HTML.


6. Event Attributes

The <br> tag also supports the Standard Event Attributes in HTML.


Relative articles