HTML dir - how to use <dir> tag

The HTML <dir> - is used to list directory titles but is no longer supported in HTML5.

Attributes

The tag supports the global and event attributes.

Examples:

<dir> <li>asp.net</li> <li>java</li> <li>html</li> </dir>