<li> Description:
The <li></li> element defines list items in a document.
<li> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV / MSNTV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 3.2, 4.0
- XHTML 1.0: XHTML List Module
<li> Attributes:
- class (optional)
- dir (optional)
- id (optional)
- lang (optional)
- onclick (optional)
- ondblclick (optional)
- onkeydown (optional)
- onkeypress (optional)
- onkeyup (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- style (optional)
- title (optional)
- type (optional)
- value (optional)
<li> End Tag:
</li> REQUIRED (optional in HTML 4.0)
<li> Contents:
HTML text. The following tags are valid within the <li> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, p, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var
<li> Valid Context:
The <li> tag is valid within the following tags:
dir, menu, ol, ul
<li> Usage:
- Standard <li>
<ul> <li>Item one</li> <li>Item two</li> <li>Item three</li> </ul>
<li> Special Notes:
- The ending tag is not required in HTML 4.0, and leaving it off makes it easier to add new elements. However, if you include it, you can be sure that your style commands are implemented correctly and you'll be writing valid XHTML.
- Nested unordered lists change bullet types in many browsers.

