HTML 4.01 Element Reference
By Lee Underwood
Return to HTML 4.01 element index page
Name: Horizontal Rule
<hr>
Description: Inserts a horizontal line in the page.
Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+
|
Attributes:
|
- align*
- class
- id
- noshade*
- onclick
- ondblclick
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- size*
- style
- title
- width*
|
* Deprecated
Code Example:
<hr class="red-bar">
XHTML Notes: Because it is an empty element, the XHTML 1.0 specification requires a trailing slash: <hr />
Created: March 15, 2005
URL: http://webreference.com/html/reference/specs/