[HTML 5] HTML List

<!-- normal list -->
<ul>
  <li>Here's a thing</li>
  <li>Another thing</li>
  <li>More things</li>
  <li><a href="#">A link in a thing</a></li>
</ul>

<!-- order list -->
<ol type="x" start="10" reversed>
  <li>The first thing to do</li>
  <li>The second thing</li>
  <li>The last thing</li>
</ol>

<!--Nested list-->
<ul class="nested">
  <li>Here's a thing</li>
  <li>Another thing
    <ol>
      <li>Here's a sub-thing that comes first</li>
      <li>Another sub-thing of secondary importance</li>
    </ol>
  </li>
  <li>More things</li>
</ul>

 

 

posted @ 2022-10-24 18:07  Zhentiw  阅读(24)  评论(0编辑  收藏  举报