目录

hr

 

用途

<hr> 元素定义水平线。

例子

代码

<h1>This is header 1</h1>
<hr />
<p>This is some text</p>

执行结果

This is header 1


This is some text

属性

标准属性

事件属性

变更点

<hr>标签在HTML5与HTML4.01之间存在如下差异

参考

外部链接