The <br> tag
Definition and Usage
The <br> tag inserts a single line break.
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 enter blank lines, not to separate
paragraphs.
Example
Source |
Output |
This text contains<br />a line break
|
This text contains a line break
|
Standard Attributes
For a full description, go to Standard
Attributes.
|