Skip to navigation

HTML Tag: li

List item. Used in conjunction with ul or ol to make an unordered list or ordered list respectively.

Optional Attributes

Attribute Description Possible values
value The ordinal value of the list item. Only an option when the item is a child of an ol. Number.
Global attributes


    <li>The other</li>

    <li>First item</li>
    <li>Second item</li>
    <li value="46">Fourty-sixth item</li>