Category: Lists | Previous: DD | Next: MENU

<DIR>

Description:

A directory list. The dir element encloses a directory listing. Most browsers format this element in the same way as an unordered list.

Syntax:

<DIR COMPACT> ... </DIR>

Attributes:

Attribute Value Description
COMPACT NONE Requests that the browser format the list in a compact manner.

Notes:

Example:

<DIR>
<LI> File_One
<LI> File_Two
<LI> File_Three

</DIR>


  • File_One
  • File_Two
  • File_Three

  • Index: HTML Reference | Previous: DFN | Next: DIV