1. 程式人生 > >HTML Tag

HTML Tag

無序列表標籤:

The <ul> element is used to define an unordered list of items. Use an unordered list to contain <li> elements that do not need to be presented in numerical order and can be rearranged without changing the meaning of the list.

<p>Unordered list items:</p>
<ul>
  <
li
>
Arranged in any order</li> <li>Will still make sense</li> </ul>

Unordered list items:

  • Arranged in any order
  • Will still make sense
<ul>
    <li>This</li>
    <li>That</li>
    <li>The other</li>
</ul>

<ol>
    <li>First item</li>
    <li>Second item</li>
    <li value="46">Fourty-sixth item</li>
</ol>
  • This
  • That
  • The other
  1. First item
  2. Second item
  3. Fourty-sixth item