HTML 101

Horizontal Rules

Another way to break up a page is to insert a horizontal rule. You do that by adding the horizontal rule tag:

<hr />

This tag just adds a horizontal line to the page. Since <hr /> is a block-level element, it will break any text preceding it to a line above, and any text after it to a line below. Let's add a horizontal rule right after the paragraph we've been working with. On a new line just below the hyperlink, type in <hr />.

Your page should now look like this:

Horizontal rules

Add your comment

Login to post a comment.