HTML Level 1 and 2 Manual

Home | Element Index | Forms | Screens & Colours | GIFs | Layout | Compatibility


Element Index > Lists

<DIR> Element

Category: Lists
Period: HTML 1 / HTML 2.0
Status: core

Description

A directory list, intended for short items such as filenames.

Syntax

<DIR>
<LI>index.html
<LI>manual.html
</DIR>

Attributes

None.

Usage Guidelines

Common Mistakes

Example Code

<DIR>
<LI>index.htm
<LI>about.htm
<LI>links.htm
</DIR>

Authoring Note

Write the document first, then test it in a graphical browser and a text browser. The page should remain understandable if images fail, colours are ignored, or the browser uses its own fonts.


Top | Home | All Elements

HTML Level 1 and 2 Manual.