Syntax
<DIR>...</DIR>
Attribute Specifications
COMPACT (compact display)
common attributes
Contents:
One or more LI elements that cannot contain Block-level elements
Contained in:
APPLET, BLOCKQUOTE, BODY, BUTTON, CENTER, DD, DEL, DIV, FIELDSET, FORM, IFRAME, INS, LI, MAP, NOFRAMES, NOSCRIPT, OBJECT, TD, TH
The DIR element defines a directory list. The element contains one or more LI elements that define the actual items of the list. The LI elements must not contain Block-level elements, 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 deprecated in HTML 4.0 in favor of UL.
Example:
C:\
<dir>autoexec.bat |23 bytes |AC<br>config.sys |1bytes |AC
</dir>
2 files 24 bytes
would produce:
C:\
autoexec.bat |23 bytes |AC
config.sys |1bytes |AC
2 files 24 bytes