HTML <br> Tag
Description:
The <br> tag is used for specifying a line break.
Specific Attributes:
None
Other Attributes:
| Attribute | Definition |
| class | Specifies a classname for an element. |
| id | Specifies a unique id for an element. |
| title | Specifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip"). |
| style | Specifies an inline style for an element. |
| clear | Specifies where the next line should appear.
This attribute is now deprecated. |
Example Code:
This text contains<br />a line break.
Result
This text contains
a line break.
a line break.