Deprecated in HTML5. Do not use.

<dir> HTML Tag

Sharing is caring!

Element of
Lists Bring Order To Web Pages: Here’s The HTML Code To Create Them
What does <dir> HTML Tag do?
The <dir> element, deprecated beginning in HTML 4.01, was used to create a list of file names or the contents of a directory. An unordered list, created with the <ul> element, is the appropriate modern replacement for the <dir> element.
Adam is a technical writer who specializes in developer documentation and tutorials.