HTML br tag


A line break is marked up as follows:
This text contains<br />a line break.

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

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
HTML br tag Reviewed by 1000sourcecodes on 06:22 Rating: 5
Powered by Blogger.