HTML and CSS Reference
In-Depth Information
Function Defines a directory list
class, dir, id, lang, onClick, onDblClick,
onKeyDown, onKeyPress, onKeyUp,
onMouseDown, onMouseMove, onMouseOut,
onMouseOver, onMouseUp, style, title
End tag
</dir> ; never omitted
Used in
As with an unordered list, you define directory list items with the <li>
tag. When used within a directory list, however, the <li> tag may not
contain any block element, including paragraphs, other lists, preformat-
ted text, or forms.
The following example puts the directory tag to its traditional task of
presenting a list of filenames:
The distribution tape has the following files on it:
Search WWH ::

Custom Search