1. Home
  2. Computing & Technology
  3. Web Design / HTML

<hr />

By , About.com Guide

<hr /> Description:

The <hr /> tag creates horizontal rule lines in the document.

<hr /> Web Browser Support:
<hr /> Attributes:
<hr /> End Tag:
None. <hr /> is a singleton tag.
<hr /> Contents:

None.

<hr /> Valid Context:

The <hr /> tag is valid within the following tags:
blockquote, body, button, center, dd, div, fieldset, form, iframe, li, noframes, noscript, object, td, th

<hr /> Usage:
  • standard line:
    <hr />
  • Line with no 3-dimensional shading.
    <hr noshade="noshade" />
  • Short line aligned to the left
    <hr width="50" align="left" />
<hr /> Special Notes:
  • Use <hr /> to divide your page and emphasize natural divisions.
  • CSS style sheets replace the deprecated attributes.
More <hr /> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.