<HR ...>

Usage Recommendation
thumbs up use it

  • NOSHADE: don't use shadow effect
  • SIZE: height
  • WIDTH: horizontal width of the line
 
  • ALIGN: horizontal alignment of the line
  • COLOR: color of the line

<HR ...> draws a horizontal line (a "horizontal rule") across the page. That's it. For such a simple concept, horizontal rules are suprisingly popular. Let's start with the basics. <HR ...> has no end tag and requires no attributes:

<HR>

creates this rule:


<HR ...> is usually indicates a division in the page. Stuff before the rule is in a different "section" from the stuff after. For that reason many designers consider <HR ...> a logical tag, not a layout tag.




About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.