<HR>

Description Attributes Examples

Description:

Draws a horizontal line.

Attributes:

align=alignment
Defines the horizontal alignment of the data within the cell.

CENTER Center the rule.
LEFT Align the rule to the left.
RIGHT Align the rule to the right.
class=class
Indicates that the rule is to be formatted using the specified class.
color="color"
The color for the rule.
event=JavaScript
When event occurs, execute the specified JavaScript.
id = "name"
You can give a rule a name, which allows it to be referenced and changed in a script (dynamic HTML).
noshade
Do not shade the edges of the ruler to create a 3D effect.
size=n
Height of the rule in pixels.
style="style"
Defines the style in which the rule will be displayed. This overrides any style elements at an "outer" level, such as from the BODY or the Cascading Style Sheet.
title="title"
You can give a rule a title if you want. This provides some additional information about the rule. I'm not sure why you would want to do this, but you could.
width=n
Width of the rule in pixels or percentage.

Examples:

<hr width="60%" size="4" color="#FF0000">



 

Internet Tips Contents
404 Errors Advertising Autoresponse Awardmaster Basics Browsers Careers Chatting Disasters Domains Email Emoticons Ezines Free Stuff Fun Stuff FTP Graphics Homepages HTML Reference HTML Tutorial Interactive Legal Links Msg Boards Microsoft Money Multimedia Networks Newsgroups Newsletter Products RFC's Ringmaster Searches Security Sticky Sites Surfing TANSTAAFL Telnet Viral Webmaster Your System