Horizontal Dividers
Webmasters who are very particular about the look of their website may find it necessary to put in a horizontal line or two on their webpage. Doing so would cut the text or the other elements in the website, thus giving it a more organized look.
Sure, you can always use an image to put a long line in between your content. Or maybe use the table script to give you the same effect. While all of these work, there’s a much simpler way to get things done.
And that would be to use the dividers or the <hr> code. Here’s an example of the script that you need to insert to form a long line on your website:
<hr color=”red” size=”3″ />
The resulting code is a red line about 3 pixels tall. Of course, if you want to change the line’s attributes, all you really need to is to tweak the code.
* You can change the background color red to any other color that you wish.
* The height in the code is defined to be 3px or 3 pixels. You can change that to any size of your liking. The higher the number, the thicker the resulting line will be.
* You can also define the border color or just emit that part altogether. However, border color may be necessary because other web browsers erroneously define the color of the border used for the line.