Horizontal rule is used to visually separate other elements within a document.
The vertical space between separated elements and the horizontal rule visualitions depend heavily on a browser's presentation and the way it renders them.
Horizontal rule is an empty tag, therefore the closing tag is forbidden.
Syntax:
<hr />
Attributes:
- id, class (document-wide identifiers)
- lang (language information), dir (text direction)
- title (element title)
- style (inline style information)
- onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)
Example
HTML horizontal rule element:
Comments
No comments have been made yet.
Please login to leave a comment. Login now