HTML Horizontal Rule (HTML Tutorial part 8)

১১/১৮/২০১১ ০৭:৫১:০০ AM | | 0 comments »

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

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 Tolkein.<br />
2. "The Fellowship of the Ring" JRR Tolkein.</p>

Biliography:



1. "The Hobbit", JRR Tolkein.
2. "The Fellowship of the Ring" JRR Tolkein.
As you can see, all this tag does is draw a line across your content, and used properly, its results can be outstanding.