HTML and CSS Reference
In-Depth Information
Defines an item within an ordered, un-
ordered, directory, or menu list
class, dir, id, lang, onClick, onDblClick,
onKeyDown, onKeyPress, onKeyUp,
onMouseDown, onMouseMove, onMouseOut,
onMouseOver, onMouseUp, style, title, type,
End tag
</li> ; often omitted in HTML
Used in
Directory and menu lists are another matter. They are lists of short
items, like a single word or simple text blurb and nothing else. Conse-
quently, <li> items within <dir> and <menu> tags may not contain other
lists or other block elements, including paragraphs, preformatted blocks,
or forms.
Clean documents, fully compliant with the HTML and XHTML standards,
should not contain any text or other document item inside the unordered,
ordered, directory, or menu lists that is not contained within an <li>
Search WWH ::

Custom Search