Bookmark and Share

HTML Horizontal Rule

Use the <hr /> tag to display lines across the screen. Note: the horizontal rule tag has no ending tag like the line break tag.

Advertise on Tizag.com

HTML Code::

<hr />
Use
<hr /><hr />
Them
<hr />
Sparingly
<hr />

Display::


Use

Them
Sparingly

Aside from our exaggerated example, the horizontal rule tag can come in handy when publishing work. A table of contents or perhaps a bibliography.

HTML Code:

<hr />
<p>1. "The Hobbit", JRR Tolkien.<br />
2. "The Fellowship of the Ring" JRR Tolkien.</p>

Bibliography:



1. "The Hobbit", JRR Tolkien.
2. "The Fellowship of the Ring" JRR Tolkien.

As you can see, all this tag does is draw a line across your content, and used properly, its results can be outstanding.

Bookmark and Share




Found Something Wrong in this Lesson?

Report a Bug or Comment on This Lesson - Your input is what keeps Tizag improving with time!

Advertise Here

More Tutorials!
Microsoft Office Tutorials Artist Tutorials