<hr> element
This page was last updated on 2025-11-16
The HR element defines a horizontal rule for visual browsers. While this element is inherently presentational, it can be used structurally as a section divider. However, for greater flexibility the HR element can be replaced with the border-bottom or border-top properties of Cascading Style Sheets. For example, the following style rule would suggest a horizontal line above all DIV elements with CLASS=navbar:
div.navbar { border-top: solid medium navy }
More Information
- HR in W3C HTML 4.01 Specification
- HR in W3C HTML 3.2 Specification
- HR in HTML 2.0 Standard
- HR in WDG HTML 3.2 Reference
- HR in Learning HTML 3.2 by Examples
- HR in Index DOT Html
Parts of this reference section use modified versions of documents originally written by Liam Quinn for HTMLHelp.com’s HTML 4.01 reference section.