html hr tag
Translation results:
abbr.hour hours;human resources human resources
html hr tagsyntax
Function:Create a horizontal line in the HTML page.
Description: Horizontal rule (horizontal rule) can visually separate the document into various parts.
Note: In HTML, the <hr> tag does not have a closing tag. In XHTML, <hr> must be closed properly, such as <hr />. In HTML 4.01, all rendering attributes of the hr element are deprecated. In XHTML 1.0 Strict DTD, all rendering attributes of the hr element are not supported.
html hr tagexample
<html> <body> <p>hr 标签定义水平线:</p> <hr /> <p>这是段落。</p> <hr /> <p>这是段落。</p> <hr /> <p>这是段落。</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance