Description:
The HTML <br /> tag is used to give a line break.
The HTML br tag inserts a single line break.
The <br> tag is an empty tag which means that it has no end tag.
Differences Between HTML 4.01 and HTML5:
NONE.
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 />.
Example:
Code | View |
---|---|
The HTML br tag:<br />Examples and information. |
The HTML br tag: Examples and information. |
Attributes:
Attribute | Value | Description |
---|---|---|
clear |
none right left all |
Deprecated - Specifies where the next line should appear. |
The post HTML br tag appeared first on .