-
The
lielement represents a list item - It must be contained in a parent element: an ordered list
(
ol) an unordered list (ul), or a menu (menu) - In menus and unordered lists, list items are usually displayed using bullet points
- In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter
-
If the parent element is an
olelement, then thelielement has an ordinal value -
The
valueattribute, if present, must be a valid integer giving the ordinal value of the list item -
If the
valueattribute is present, user agents must parse it as an integer