Name

<dir> — NN: 2D, 3D, 4 &bull; MSIE: 2, 3, 4, 5 &bull; HTML 4D &bull; WebTV &bull; Opera3

Synopsis

<dir>...</dir>

Creates a directory list consisting of list items <li>. Directory lists were originally designed to display lists of files with short names, but they have been deprecated with the recommendation that unordered lists (<ul>) be used instead. Most browsers render directory lists the same as unordered lists (with bullets), although some will use a multicolumn format.

Get HTML Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.