ol 有序列表

示例:

1 2 3 4 5 6 7
<ol>
    <li>刘伟 www.sphard.com</li>
    <li>刘伟 www.sphard.com</li>
    <li>刘伟 www.sphard.com</li>
    <li>刘伟 www.sphard.com</li>
    <li>刘伟 www.sphard.com</li>
</ol>

效果:
ol

type 属性:

1 2 3 4 5 6 7 8
<ol>
    <li>刘伟 www.sphard.com</li>
    <li type="1">刘伟 www.sphard.com</li>
    <li type="a">刘伟 www.sphard.com</li>
    <li type="A">刘伟 www.sphard.com</li>
    <li type="i">刘伟 www.sphard.com</li>
    <li type="I">刘伟 www.sphard.com</li>
</ol>

效果:
ol-type

start 属性:

1 2 3 4 5 6 7
<ol start="6">
    <li>刘伟 www.sphard.com</li>
    <li>刘伟 www.sphard.com</li>
    <li>刘伟 www.sphard.com</li>
    <li>刘伟 www.sphard.com</li>
    <li>刘伟 www.sphard.com</li>
</ol>

start属性中,不论列表的type属性是数字、英文还是罗马字,start属性只能是数字。

效果:
ol-start

results matching ""

    No results matching ""