An Introduction to HTML: Lines



<HR> (Horizontal Rule) is a stand alone tag that generates a horizontal line. There is no corresponding HTML command for a verticle line. It is common to use lines (sizes 2 and 4 are especially common) to separate the main body of the document from the header and the footer of the document.

<hr>

<hr size=2>


<hr size=3>


<hr size=4>


<hr size=5>


<hr size=6>


<hr size=7>


<hr size=8>


<hr size=9>


<hr size=10>


<hr size=20>


<hr size=50>


You can also limit the length of the lines:

<hr width=75%>

<hr width=50%>


<hr width=35%>


<hr width=20%>


<hr width=15% size=80>