HTML <hr> Element
The <hr> element is used to create a horizontal rule or line in an HTML document.
Example code:
Some text
<hr>Some more textResult:
Some text
Some more text
<hr> is one of the empty elements in HTML4.
This element has been redefined in HTML5 to convey a semantic meaning beyond the purely presentational, for details please see:
HTML5 <hr> element.
<hr> Attributes
- CORE AND LANGUAGE ATTRIBUTES - class, id, title, style, dir, lang
- MOUSE AND KEYBOARD EVENT ATTRIBUTES - onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmouseout, onmousemove, onkeydown, onkeyup, onkeypress
HTML 4 Element List
<!--<comment>--><!DOCTYPE><a><abbr><acronym><address><applet><area><b><base><basefont><bdo><big><blockquote><body><br><button><caption><center><cite><code><col><colgroup><dd><del><dfn><dir><div><dl><dt><em><fieldset><font><form><frame><frameset><head><h1> to <h6> <hr><html><i><iframe><img><input><ins><isindex><kbd><label><legend><li><link><map><menu><meta><noframes><noscript><object><ol><optgroup><option><p><param><pre><q><s><samp><script><select><small><span><strike><strong><style><sub><sup><table><tbody><td><textarea><tfoot><th><thead><title><tr><tt><u><ul><var>
