<DIR>NN all   IE all   HTML all
<DIR>...</DIR>End Tag: Required
 

The original idea of the DIR element was to allow browsers to generate multicolumn lists of items. Virtually every browser, however, treats the DIR element the same as a UL element, to present an unordered single column list of items (usually preceded by a bullet). The DIR element is deprecated in HTML 4. You should be using the UL element, in any case, because you are assured backward compatibility and forward compatibility should this element ever disappear from the browser landscape. Everything said here also applies to the deprecated MENU element.

 
Example
Common DB Connector Types:
<DIR>
    <LI>DB-9
    <LI>DB-12
    <LI>DB-25
</DIR>
 
Object Model Reference
IE [window.]document.all.elementID
COMPACTNN n/a   IE 3   HTML 3.2
COMPACTOptional
 

A Boolean attribute originally designed to let browsers render the list in a more compact style than normal (smaller line spacing between items). Internet Explorer ignores this attribute (despite the fact that support for this attribute is indicated in IE 3 documentation).

 
Example
<DIR COMPACT>...</DIR>
 
Value
The presence of this attribute makes its value true.
 
Default false