dir element | dir object
[This documentation is preliminary and is subject to change.]
Denotes a directory list.
![]() |
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 10.4 (Deprecated)
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | block |
DOM Information
Inheritance Hierarchy
Node
Element
HTMLElement
dir
Remarks
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>
Build date: 3/8/2012
