HTML Syntax
<dir> <li> ... </li> ... </dir>
NOTE: Both start and end tags are required.
The <dir> element displays a list of items, usually a list of folders and files in a directory.
dir
Like the <ul> element, dir is used with one or more <li> elements to denote the individual items in the list.
NOTE: This element has been deprecated in favor of CSS stylesheets.
The <dir> element has no attribute of its own, but supports global attributes common to all HTML elements.
<dir>
The following example shows how the <dir> element may be used.
<dir> <li>Art <li>History <li>Literature <li>Sports <li>Entertainment <li>Science </dir>
LI MENU OL UL Using Lists in HTML
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note