VersionW3C//DTD HTML 3.2 Final//EN
ElementLI
Purposelist item
DescriptionThis element identifies an item in a list defined by the OL, UL, DIR, or MENU elements.
Start tagRequired <LI>
Attributes
NameTypeDefaultComment
type CDATA #IMPLIEDdisc = filled in round dot; circle = circle with inside empty; square = square bullet; 1 = arabic numbers (1, 2, 3, ...); a = lower alpha (a, b, c, ...); A = upper alpha (A, B, C, ...); i = lower roman (i, ii, iii, ...); I = upper roman (I, II, III, ...)
value NUMBER #IMPLIEDreset sequence number
Content( #PCDATA | TT | I | B | U | STRIKE | BIG | SMALL | SUB | SUP | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP | INPUT | SELECT | TEXTAREA | P | UL | OL | DIR | MENU | PRE | DL | DIV | CENTER | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE )*
End tagOptional </LI>
Referenced in DIR MENU OL UL
Example
SourceAppearance
<UL>
<LI>Items in the Universe
<UL>
<LI type="disc">Matter
<LI type="square">Energy
<LI type="circle">Gravity
</UL>
<LI>The Solar System
<OL>
<LI type="A" value="3">Inner
<OL>
<LI type="a">Mercury
<LI>Venus
<LI>Earth
<LI>Mars
</OL>
<LI>Outer
<OL>
<LI type="I" value="35">Jupiter
<LI>Saturn
<LI>Uranus
<LI>Neptune
<LI>Pluto
<LI>Kuiper Belt
</OL>
</OL>
</UL>
  • Items in the Universe
    • Matter
    • Energy
    • Gravity
  • The Solar System
    1. Inner
      1. Mercury
      2. Venus
      3. Earth
      4. Mars
    2. Outer
      1. Jupiter
      2. Saturn
      3. Uranus
      4. Neptune
      5. Pluto
      6. Kuiper Belt
Save this page to any social bookmarking site! Share · search Search · star Market
2020-04-21 · John December · Terms © December Communications, Inc.