完整html代碼如下
<!DOCTYPE html>
<html>
<head>
<meta charset= "utf-8" >
<title >html分割線</title >
</head >
<body >
<h3>1芬探、兩頭漸變透明:</h3 >
<HR style= " FILTER: alpha (opacity = 100, finishopacity =0 , style= 3 )" width ="80%" color =#987 cb 9 SIZE = 3>
<h3>2、紡錘形:</h3>
<HR style= " FILTER: alpha (opacity = 100, finishopacity =0 , style= 2 )" width ="80%" color =#987 cb 9 SIZE = 10>
<h3>3痛悯、右邊漸變透明:</h3 >
<HR style= " FILTER: alpha (opacity = 100, finishopacity =0 , style= 1 )" width ="80%" color =#987 cb 9 SIZE = 3>
<h3>4疟丙、左邊漸變透明:</h3 >
<HR style= " FILTER: alpha (opacity = 0, finishopacity =100 , style= 1 )" width ="80%" color =#987 cb 9 SIZE = 3>
<h3>5颖侄、虛線:</h3>
<HR style= " border: 1 dashed #987cb9" width ="80%" color =#987 cb 9 SIZE = 1>
<h3>6、雙線:</h3>
<HR style= " border: 3 double #987cb9" width ="80%" color =#987 cb 9 SIZE = 3>
<h3>7享郊、立體效果:</h3>
<HR style= " FILTER: progid:DXImageTransform.Microsoft.Shadow ( color: #987cb9 ,direction : 145, strength :15 ) " width = "80%" color = #987cb 9 SIZE= 1>
<h3>8发皿、鋼針效果:</h3>
<HR style= " FILTER: progid:DXImageTransform.Microsoft.Glow ( color= #987cb9 ,strength = 10) " width= "80%" color= #987 cb9 SIZE =1>
<h3>9.垂直分割線</h3>
<table border= "1px" cellpadding= "0" cellspacing= "0" style =" margin-left :200 px ;height : 265px ; border-left-style: solid ; border-bottom-style : none; border-right-style :none ; border-top-style: none ">
</body >
</html>
分割線效果圖
分割線效果圖