li
li
This page has been flagged with the following issues:
High-level issues:
Summary
Denotes one item in a list.
Overview Table
| DOM Interface | HTMLLIElement |
|---|
Examples
This example uses the LI element to create individual items in a directory list.
<DIR> <LI>Art <LI>History <LI>Literature <LI>Sports <LI>Entertainment <LI>Science </DIR>
Notes
Remarks
The TYPE attribute values disc, circle, and square apply to unordered lists; the values 1, a, A, i, and I apply to ordered lists. When the LI element is absolutely positioned with CSS, the list item marker is not rendered. As of Microsoft Internet Explorer 6, the default value of the display property for this element is list-item.
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 10.2
HTML information
{
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
See also
Related pages (MSDN)
Referencedirmenuolul
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here