From http://www.w3schools.com (Copyright Refsnes Data)

HTML <br> tag


Example

A line break is marked up as follows:

This text contains<br />a line break.

Try it yourself!


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.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <br> tag is supported in all major browsers.


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 />.


Tips and Notes

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


Standard Attributes

id, class, title, style

For a full description, go to Standard Attributes.


From http://www.w3schools.com (Copyright Refsnes Data)