How to Draw a Horizontal LineContrary to what the title might suggest, you haven't stumbled upon an elementary school art class. Here I'll show you how to make the most basic of dividers for your page, a plain horizontal line. The default line is a thin, gray line that stretches from margin to margin, like this: The only tag needed to make this line is
Next comes "ALIGN="(left, right,
or center). If the line runs all the way across a page,
then this attribute has little visible effect. A line can
be changed in length by adding the "WIDTH=#%"
attribute. So by typing By adding "noshade" the line will be filled: This sort of line can also be of any
color, just like text. To make this happen, enter the
color="#xxxxxx" attribute inside the <hr>
tag. This HTML:
It should also be noted that the "fancy" lines found on some pages are not generated by this command, but are graphic images. | ||
|
|
||
| Customizable Forms | Setting Up Your Page in Frames | Cascading Style Sheets |
| Fun with Javascripts | ||