List Item  - <LI>

Previous- LEGEND - Legend  |  Next-LINK - Link

Description
Denotes an item within a list, whether ordered (OL) or unordered (UL). The use of the closing tag is optional.
Attributes
NameValuesDescription
classclassnameClass of the element which is used to associate the element with a style sheet.
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
event_namescript_codeDefines script to run on event such as OnMouseOver
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
languagejavascript|jscript|vbscript|vbs
stylestringSpecifies style information for the element.
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.
type1|a|a|i|disc|circle|squareBullet type for list
valuestringValue of the current item. Deprecated under HTML 4.0

Example
<ul>
<li>bulleted item number one
<li>second line
<li>this line of bulleted text
</ul>
Will be displayed as :
  • bulleted item number one
  • second line
  • this line of bulleted text

Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES YES YES YES YES YES YES YES YES

Previous- LEGEND - Legend  |  Next-LINK - Link