Definition and Usage
The
tag inserts a single line break.
The
tag is an empty tag which means that it has no end tag.
Browser Support
The
tag is supported in all major browsers.
Differences Between HTML and XHTML
In HTML the
tag has no end tag.
In XHTML the
tag must be properly closed, like this:
.
Tips and Notes
Note: Use the
tag to insert line breaks, not to create paragraphs.
Standard Attributes
The
tag supports the following standard attributes:
Attribute | Value | Description | DTD |
---|---|---|---|
class | classname | Specifies a classname for an element | STF |
id | id | Specifies a unique id for an element | STF |
style | style_definition | Specifies an inline style for an element | STF |
title | text | Specifies extra information about an element |
No comments:
Post a Comment