" does not have an end tag. Its usage syntax is such as "
This is a paragraph
< hr />This is a paragraph" visually separates the document into sections."/> " does not have an end tag. Its usage syntax is such as "
This is a paragraph
< hr />This is a paragraph" visually separates the document into sections.">
In HTML, hr is a tag used to create a horizontal line in the page. "
" does not have an end tag, and its usage syntax is such as "
This is a paragraph
This is a paragraph" visually separates the document into sections.
# Operating system for this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.
Definition and usage
In HTML, hr is a tag used to create a horizontal line in the page. In HTML, the
This is a paragraph
This is a paragraph ”. The
Horizontal rule (horizontal rule) can visually separate the document into various parts.
Optional attributes
##
<html> <body> <p>hr 标签定义水平线:</p> <hr /> <p>这是段落。</p> <hr /> <p>这是段落。</p> <hr /> <p>这是段落。</p> </body> </html>Running effect:
The above is the detailed content of What does hr in HTML mean?. For more information, please follow other related articles on the PHP Chinese website!