HTML and CSS Reference
In-Depth Information
Name
hr
Synopsis
<hr> (XHTML: <hr/> or <hr /> )
Indicates a paragraph-level thematic break, or an indication that one topic or thought has com-
pleted and another one is beginning.
Usage
Categories:
Flow content
Permitted contexts:
Where flow content is expected
Permitted content:
Empty
Start/end tags:
This is an empty (void) element, meaning it has only a start tag and may not have any con-
tents. In HTML, the end tag is forbidden. In XHTML, the element must be closed with a
trailing slash ( <hr/> or <hr /> ).
Attributes
HTML5 Global Attributes
Example (HTML)
<p>These are notes from Thursday.</p>
<hr>
<p>These are notes from Friday.</p>
Search WWH ::




Custom Search