<hr />

PURPOSE: To make a horizontal rule.

This is one of those tags that is different. There is NOT a </hr> tag. It is all incorporated into the one tag. Note there is a space between the hr and the /.

Below is a basic html document. The referenced html tag is in RED. All tags must have a start and a end tag. Most end tags have a / before the tags name, however there are a few that are done differently. The tags that end differently will be noted and highlighted. The order of the start and end tags is also very important to proper display of your page in a web browser.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> The Page Title Goes Here </title>
</head>
<body>
<p>
Do you know what all these sentences have in common? A large fawn jumped quickly over white zinc boxes. The quick brown fox jumps over the lazy dog. Five or six big jet planes zoomed quickly by the tower. Jay visited back home and gazed upon a brown fox and quail. Would you please examine both sizes of jade figures very quickly. They each contain every letter of the alphabet. More useless knowledge.
</p>
<hr />
The hr tag above results in a horizontal rule placed below the paragraph. To determine its color and size you have to define it in a style tag in the heading. Otherwise it is default black.
</body>
</html>


© Copyright 2001,2002 Southern Twilight    All rights reserved.

Back To HTML Examples