我必須在HTML中製作條款和條件頁面,所以我想給他們一個數字,但一些條件有他們的分,所以我想像下面的例子那樣展示他們。在html中的訂單列表
我第一點
1.1和我子點
我第二點
我第三點
我第四
4.1和我的子點牛逼
可以使用CSS
<style>
ol {list-style:decimal}
</style>
</head>
<body>
<ol>
<li>me the first point
<ol><li>me the sub point</li></ol>
</li>
<li>me the second point</li>
<li>me the third point</li>
<li>me the forth point</li>
</ol>
</body>
你可以在這裏找到答案 - http://stackoverflow.com/questions/956178/html-css-outline-numbering或在這裏 - http://stackoverflow.com/questions/1852816/nested-ordered-lists – 2012-04-12 04:07:34