Dir tag
Dir tag in HTML:
"Dir" tag in HTML served to establish a directory list, by exhibiting a list of files and subdirectories.
On the other hand, it has become older and doesn't work with new HTML5 version anymore.
In this case HTML5 persuades you to adhere to smaller elements such as lists and tables while CSS will do the styling.
Example
The "Dir" tag was employed to specify the text direction contained in the block-level element, for instance, the LTR or the RTL.
html Live Editor!