案例:html/html5 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<p>普通的水平线:</p>
5
<hr />
6
7
<p>宽度为 50% 的水平线:</p>
8
<hr width="50%" />
9
10
<p><b>注释:</b>在 HTML 4.01 中,不赞成使用 width 属性;在 XHTML 1.0 Strict DTD 中,不支持 width 属性。请使用 CSS 代替。</p>
11
12
</body>
13
</html>
14