Name
li
Synopsis
<li>...</li>
Defines an item in a list. It is used within the ol, ul,
menu (deprecated), and dir (deprecated) list elements.
Attributes
Core(id,
class, style, title),
Internationalization,
Events
-
type="format" Deprecated. Changes the format of the automatically generated numbers or bullets for list items.
Within unordered lists (
ul), thetypeattribute can be used to specify the bullet style (disc,circle, orsquare) for a particular list item.Within ordered lists (
ol), the type attribute specifies the numbering style (see options under theollisting) for a particular list item.-
start="number" Nonstandard. Within ordered lists, you can specify the first number in the number sequence. In the (X)HTML Recommendation, the
startattribute applies to theolelement, not theli.-
value="number" Deprecated. Within ordered lists, you can specify the number of an item. Following list items increase from the specified number.