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
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
For a full description, go to Standard
Attributes.
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|