<ol type="1" start="1">
<li>中华人民共和国!</li>
<li>中华人民共和国! </li>
<li>中华人民共和国! </li>
</ol>
#实心圆
<ul type="disc">
<li>中华人民共和国! </li>
<li>中华人民共和国! </li>
<li>中华人民共和国! </li>
</ul>
#空心圆
<ul type="circle">
<li>中华人民共和国! </li>
<li>中华人民共和国! </li>
<li>中华人民共和国! </li>
</ul>
#方块
<ul type="square">
<li>中华人民共和国! </li>
<li>中华人民共和国! </li>
<li>中华人民共和国! </li>
</ul>
可以用OL有序列表写,代码帮你写好,已经测试通过:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="
<head>
<meta http-equiv="Content-Type" content="text/html charset=gb2312" />
<title>有序列表</title>
<style type="text/css">
<!--
body {
margin: 0
padding: 0
}
ol {
width: 20px
padding: 10px
margin: 0
line-height: 18px
background-color: #ddd
list-style: none
border-right: 3px solid #0f0
}
-->
</style>
</head>
<body>
<ol>
<li>01.</li>
<li>02.</li>
<li>03.</li>
<li>04.</li>
<li>05.</li>
</ol>
</body>
</html>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)