List element manipulation is made possible through the HTMLLIElement interface's exposure of particular features and techniques.

A list item is defined using the <li> tag. Ordered lists (<ol>), unordered lists (<ul>), and menu lists (<menu>>) all include the <li> tag. The list elements are shown with bullet points in <ul> and <menu>>. The list items in <ol> are often represented by numbers or letters.

Attribute Value Description Example
value number Only for <ol> lists. Specifies the start value of a list item. The following list items will increment from that number <ol> <li value="100">Coffee</li> <li>Tea</li> <li>Milk</li> <li>Water</li> <li>Juice</li> <li>Beer</li> </ol>

Browser Compatibility

Element Chrome Edge Firefox Safari Opera
<li> Yes Yes Yes Yes Yes