Read HTML The Definitive Guide Online
Authors: Chuck Musciano Bill Kennedy
8.3 The
8.5 Directory Lists
8.5 Directory Lists
The directory list is a specialized form of the unordered list. It has been deprecated in the new HTML
4.0 standard. We don't recommend that you use it at all.
[, 8.1]
8.5.1 The
Function:
Define a directory list
Attributes:
CLASS ONKEYUP
DIR ONMOUSEDOWN
ID ONMOUSEMOVE
LANG ONMOUSEOUT
ONCLICK ONMOUSEOVER
ONDBLCLICK ONMOUSEUP
ONKEYDOWN STYLE
ONKEYPRESS TITLE
End tag:
; never omitted
Contains:
list_content
Used in:
block
As with the unordered list, define directory list items with the
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:
README
Makefile
main.c
config.h
util.c
Notice that we use the tag to ensure that the filenames would be rendered in an appropriate
manner (see Figure 8.8).
Figure 8.8: An example
The attributes for the
8.4 Nesting Lists
8.6 Menu Lists