Copyright © tutorialspoint.com
The HTML <br /> tag is used to give a line break.
In HTML the <br> tag has no end tag.
In XHTML the <br> tag must be properly closed.
<p>This is before the line break<br /> and this after the line break.</p> |
This will produce following result:
This is before the line break and this after the line break. |
To Become more comfortable - Do Online Practice
Attribute | Value | Description |
---|---|---|
clear | none right left all | Deprecated - Specifies where the next line should appear. |
Attribute | Description |
---|---|
class | Document wide identifier |
id | Document wide identifier |
title | Specifies a title to associate with the element. |
style | Helps to include inline casecadubf style sheet. |
Copyright © tutorialspoint.com