LI
![[Local Convention]](/icons/dtdguid2.gif)
A list item.
A list item can contain P, BLOCKQUOTES, and a wide variety of other
markup. If the LI is part of an Ordered List, then LI can also contain other
lists (UL, DL, MENU, or DIR). However, if the LI is part of a MENU or DIR, then it may not
contain nested lists. This is a common error (probably because the
reason for the restriction is not intuitively obvious).
Content
- #PCDATA
- a -- Anchor; source and/or destination of a link
- applet
- b -- Bold text
- basefont
- big
- blockquote -- Quoted passage
- br -- Line break
- center
- cite -- Name or title of cited work
- code -- Source code phrase.
addresses and URLS.
- dfn
- dir --
Directory list
- div
- dl -- Definition list, or glossary
- em -- Emphasized phrase
- font
- form -- Fill-out or data-entry form
- hr -- Horizontal rule
- i -- Italic text
- IFRAME
- img -- Image; icon, glyph or illustration
- input -- Form input datum
- isindex --
Document is a searchable index to corpus of documents
- kbd --
Keyboard phrase, e.g. user input
- map
- menu -- Menu list
- multicol
- ol -- Ordered, or numbered list
- p -- Paragraph
- pre -- Preformatted text
- samp --
Sample text or characters
- script
- select -- Selection of option(s) (in form)
- small
- strike
- strong -- Strong emphasis
- sub
- sup
- table
- textarea -- An area for text input (in form)
- tt --
Typewriter text
- u
- ul -- Unordered list
- var --
Variable phrase or substitutable
ATTRIBUTES
CONTENT DECLARATION
- Tag Minimization
-
Open Tag: REQUIRED
Close Tag: OPTIONAL
Parent Elements
- dir --
Directory list
- menu -- Menu list
- ol -- Ordered, or numbered list
- ul -- Unordered list
Top Elements
All Elements
Tree
htmlx DTD