Horizontal Rule

End Tag: Omitted
Support Key: 2 | 3 | 3.2 | 4 | IE1 | M1 | N1 | O2.1
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
A Horizontal Rule provides a visual division between sections of text. The default value in most multimedia capable browsers is a 3 dimensional transparent line running horizontally across the entire screen.

Common Attributes
%Core%
2 | 3 | 3.2 | 4 | IE3 | M | N4B2 | O
%Events%
2 | 3 | 3.2 | 4 | IE4B1 | M | N | O

Specific Attributes
Align
2 | 3 | 3.2 | 4 | IE1 | M2FB | N1 | O2.1
Required? No
Description:
For rules that do not span the entire browser window using the WIDTH attribute, this indicates how to align the rule with respect to the sides of the browser window.
Values: Left | Center [DEFAULT] | Right.
Color
2 | 3 | 3.2 | 4 | IE3A1 | M | N | O
Required? No
Description:
This attribute specifies the color of the rule.
Values: The standard HTML color specification methods.
Noshade
2 | 3 | 3.2 | 4 | IE1 | M2FB | N1 | O2.1
Required? No
Description:
This is a stand alone attribute which makes the rule a solid color (not three dimensional.)
Values: NA
Size
2 | 3 | 3.2 | 4 | IE1 | M2FB | N1 | O2.1
Required? No
Description:
This attribute specifies the vertical size of the rule in pixels.
Values: Positive integer values
Width
2 | 3 | 3.2 | 4 | IE1 | M2FB | N1 | O2.1
Required? No
Description:
Specifies the width of the rule on the screen. Values are specified either by absolute pixel size or percentage of the screen/window to use.
Values:
A positive integer representing pixel width of the rule or a positive integer/floating point number combined with a percent char ('%') representing a percentage of the screen width.
Example
<hr WIDTH="30%" ALIGN="center" SIZE=3 NOSHADE COLOR="#0000FF">
Parent Model
%Block Parent%
Content Model
This tag does not accept any content.
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...