This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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

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

See also

Other articles

Attributions