DIR - Directory List

Syntax <DIR>...</DIR>
Attribute Specifications
Contents One or more elements that cannot contain
Contained in , , , , , , , , , , , , , , , , , ,

The DIR element defines a directory list. The element contains one or more elements that define the actual items of the list. The LI elements must not contain , which prevents DIRs from being nested.

The COMPACT attribute suggests that visual browsers render the list compactly, perhaps with reduced spacing between items. This attribute is not well supported among browsers.

DIR is in HTML 4.0 in favor of .

More Information