li

The li element represents a list item.

Attributes

<li attribute-name="attribute-value"></li>
Name Value Description
value integer Ordinal value of the list item. Permitted only if the li element is a child of an ol element

Global

CSS

li {
  display: list-item;
}

Example | Value

Example | CSS

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1