LI Element | LI Object
Denotes one item in a list.
HTML Syntax
<LI CLASS=classname ID=value LANG=language LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS STYLE=css1-properties TITLE=text TYPE=1 | a | A | i | I | DISC | CIRCLE | SQUARE VALUE=value event = script >
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.
The LI element is an inline element and does not require a closing tag.
This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.
Members
Styles
Example
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>
See Also
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.