HTML Reference Guide


Tag Index| Content List| HTML FAQ

<HR> HORIZONTAL RULE

Description:

The <HR> tag produces a horizontal line. The WIDTH and SIZE attributes may be used with <HR>.

Attributes:

no shade - makes the line solid rather than shadowed or 3-D.

width=x - assigns the width to the horizontal line. Can be in percentage or pixels.

size=x - assigns the thickness of the rule with 'x' equaling the number of pixels.

Example code:

<HR>

Result:


<HR WIDTH=50%>

Result:


<HR SIZE=4>

Result:


See Also: