<HR>
The horizontal rule element (HR) creates a horizontal line that helps
to seperate content areas on a site. How the line appears is dependent
on the browser and platform being used. The SIZE and NOSHADE attributes
help you control the appearance of this line.
This element doesn't require a closing tag.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
ALIGN |
[DEPRECATED] Horizontal alignment to give this element. May be one of the following: left, right, center . The default alignment is center |
NOSHADE |
[DEPRECATED] When present, indicates that the line should be rendered in one solid color instead of the traditional two-color "groove" |
SIZE |
[DEPRECATED] Indicate how high (in pixels) the line should be when rendered on the page. |
WIDTH |
[DEPRECATED] Indicates the overall width (length in pixels) the line should be when rendered on the page. This may be a percentage like "80%" . |
|
Example
<HR WIDTH="80%" ALIGN="right">
Renders As
Compatibility
HTML 4.01
|