Horizontal Rule



Horizontal rules separate parts of a Web page with a line. When you learn priciples of Web design, you will learn other ways to separate text with images, spacing and color. Examples are shown below:

To insert horizontal rule


< HTML >
< HEAD >
< TITLE > Butch is the Greatest Dog < /TITLE >
< /HEAD >
< BODY bgcolor="#ffffff" >
< h1 > Butch < /h1 >
< hr >
Butch's Vital Statistics
< ol >
< li > breed-Jack Russel
< li > color-white, brown, little black
< li > age-2 years old
< /ol >

< /BODY >
< /HTML >

Try IT



You can also vary the width and thickness of the horizontal rule, see the class text for details.


Back