Not dir tag Supported in HTML5.
The <dir> Tag was used in HTML 4 to create a list of directory titles.
HTML <dir> Tag were used as a container for listing files/folders or contents in a directory. The element is used with tags, and the list of directories is presented in bullets by default.
Note: Do not use HTML <dir> because it is now deprecated and not supported in HTML5. You can use the <ul> tagging and CSS properties instead.
Example:-
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
        HTML dir Tag
    </title>
</head>
<body>
<h1>Example of HTML dir tag</h1>
  
  <p>List of Myprograming popular Tutorials</p>  
    <ul>  
    <li>HTML</li>  
    <li>CSS</li>  
    <li>WordPress</li>  
    <li>Bootstrap</li>  
    <li>C</li>
    <li>JavaScript</li>
   </ul>   
</body>
</html>Output:-
List of Myprograming popular Tutorials
- HTML
- CSS
- WordPress
- Bootstrap
- C
- JavaScript
