HTML:Element:li
From MDC
[edit] Summary
List item element is used to indicate a list item as contained in an ordered list (<ol>) or unordered list (<ul>). It can occur only as a child element of previously mentioned elements.
- Allowed content: block-level, inline
- Allowed in: <ol>, <ul>
[edit] Attributes
- value Deprecated
- Indicates the current number of items in an ordered list as defined by the <ol> element. Regardless of the value of type being used to set Roman numerals or letters, the only allowed value for this attribute is a number. List items that follow will continue numbering from the value set. The value attribute has no meaning for unordered lists.
- type Deprecated
- Indicates the numbering type:
aindicates lowercase letters,Aindicates uppercase letters,iindicates lowercase Roman numerals,Iindicates uppercase Roman numerals, and1indicates numbers. Type set in an <ol> element is used for the entire list unless a type attribute is used within an enclosed<li>element. This attribute is deprecated, use CSS list-style-type property instead.
[edit] Examples
[edit] Notes
[edit] See also
| HTML Elements |
| A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
| (Quick Links: HTML Element Cross Reference, HTML Category) |