<dir> Description:
The <dir> element defines a directory list. This element is deprecated in HTML 4.0 and XHTML 1.0.
<dir> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV/MSN TV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 3.2, 4.0
- XHTML 1.0: XHTML Legacy Module
<dir> Attributes:
- class (optional)
- compact (optional)
- dir (optional)
- id (optional)
- lang (optional)
- onclick (optional)
- ondblclick (optional)
- onkeydown (optional)
- onkeypress (optional)
- onkeyup (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- style (optional)
- title (optional)
<dir> End Tag:
</dir> REQUIREDContents:
List elements. The following tag is valid within the <dir> tag:
li
<dir> Valid Context:
The <dir> tag is valid within the following tags:
blockquote, body, button, center, dd, div, fieldset, form, iframe, li, noframes, noscript, object, td, th
<dir> Usage:
- a directory listing
<dir>
<li>bltags-basic-tags.htm</li>
<li>bltags-block-tags.htm</li>
<li>bltags-content-tags.htm</li>
<li>bltags-list-tags.htm</li>
<li>bltags-text-tags.htm</li>
</dir>
<dir> Special Notes:
- This element has been deprecated in XHTML 1.0 and HTML 4.0 in favor of unordered lists.

