HTML Code Tutorial

Tutor Ebook Download

Horizontal Rule Tag

The horizontal rule or <hr> tag is used to draw horizontal lines on a page. It is usually used to divide a page into sections.

It's attributes are:
width
size
align
noshade

Example:
<hr align="center" size="5" width="50%">


Internet Explorer recognizes a color attribute using style sheets. Netscape (pre 5.0) does not.
hr{ color :#0000FF;background-color :#FFFFFF }

Exercise
Paste the following code into the HTML Editor. Experiment with its various attributes.

<hr align="center" size="5" width="50%" style="color :#0000FF; background-color :#FFFFFF">



Check out our Free Frames Template Kit or try our Free Frames Kit Demo
Also Available: 11 Page Website Kit (download) and Request a Template Kit
Get them Here!



CGI Online
How to Create a Website -Tutorial
Main Website


This Free HTML Tutorial
is provided by Net Success 2000 Plus Inc.
PO Box 1508
Somerset, KY 42502
Last Modified: September 3, 2007

HTML Codes Tutor Ebook