<hr /> Description:
The <hr /> tag creates horizontal rule lines in the document.
<hr /> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV / MSNTV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 3.2, 4.0
- XHTML 1.0: XHTML Legacy Module XHTML Presentation Module
<hr /> Attributes:
- onkeypress (optional)
- onkeyup (optional)
- onload (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- onselect (optional)
- onunload (optional)
- size (deprecated)
- style (optional)
- title (optional)
- width (deprecated)
<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:

