dir
Summary
The dir element <dir> is used to list directory titles.
The dir element is deprecated in HTML 4.01, and obsolete in HTML5. Use CSS and the ul element instead.
Overview Table
Examples
This example uses the dir element to create a directory list.
<DIR>
<LI>Art
<LI>History
<LI>Literature
<LI>Sports
<LI>Entertainment
<LI>Science
</DIR>
Notes
Remarks
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 10.4 (Deprecated)
See also
Other articles
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]