previous |
start |
next
<HR
ALIGN=LEFT|CENTER|RIGHT
CLASS=type
COLOR=color
ID=value
NOSHADE
SIZE=n
STYLE=css1 properties
WIDTH=n>
Draws a horizontal rule.
- ALIGN=CENTER|LEFT|RIGHT
-
Sets the alignment of the rule. The default is CENTER.
CENTER |
Rule is centered on the
page. |
LEFT |
Rule is aligned to the
left of the page. |
RIGHT |
Rule is aligned to the
right of the page. |
- CLASS=type
- Indicates the class to which the element belongs.
- COLOR=color
- Sets the color of the rule. The color can be
either a hexadecimal, red-green-blue color value or a
predefined color name. See
Color.
- ID=value
- Specifies a unique value for the element over the
document.
- NOSHADE
- Draws the rule without 3-D shading.
- SIZE=n
- Sets the height of the rule, in pixels.
- STYLE=css1
properties
- Specifies style information.
- WIDTH=n
- Sets the width of the rule, either in pixels or as a
percentage of window width. To specify a percentage, the
n must end with the percent (%) sign.
Example
<HR SIZE=5 WIDTH=80% NOSHADE>
previous |
start |
next