设置<hr />的颜色和粗细,不需要用到style,直接用标签的color和size属性:
<hr color="red" size="0.5" />
<hr />标签默认还有margin值,可以用style去掉