Last Updated on April 26, 2023 by Roshan Parihar
HTML dir tag is used to show directory lists in webpages.
This dir tag inserted just after table tag to show title of the tables.
Syntax
1 2 3 4 5 |
<dir> <li>Enter text1 here...</li> <li>Enter text2 here...</li> ........ </dir> |
1 2 3 4 5 |
<dir> <li><a href="html-header-tag">Header tag</a></li> <li><a href="html-footer-tag">Footer tag</a></li> <li><a href="html-article-tag">Article tag</a></li> </dir> |
Output
Resources and References of HTML dir tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github