有序列表

<ol>使用<ol>元素来创造有序列表,列表中的每个项目都被置于起始标签和结束标签之间。

<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <div>有序列表</div>
        <ol>
            <li>一个项目</li>
            <li>一个项目</li>
            <li>一个项目</li>
            <li>一个项目</li>
        </ol>
    </body>
</html>

  

猜你喜欢

转载自www.cnblogs.com/q2546/p/9336998.html