HTML <dir> tag was used as a container for the list of files/folders or content of the directory. The <dir> element is used with the <li> tags, and list of directories renders in bullets by default.
<dir>Directory list… </dir>
<!DOCTYPE html>
<html>
<head>
<title>Dir tag</title>
<style>
h2{
color: #b22222;}
p{
color: green;}
</style>
</head>
<body>
<h2>Example of dir tag</h2>
<p>List of javaTpoint popular Tutorials</p>
<dir>
<li>Java-tutorial</li>
<li>DBMS-tutorial</li>
<li>DataStructure-tutorial</li>
<li>HTML-tutorial</li>
</dir>
</body>
</html>
[…] <dir> […]