dir

< html‎ | elements
Jump to: navigation, search

dir

Deletion Candidate: Is obsolete in HTML5

Deprecated

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 instead.


Overview Table

DOM Interface HTMLElement

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


HTML information

{

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]