dir Tag in HTML

1
116

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>  

Also Read:  img Tag in HTML

<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>  

 

Previous articledialog Tag in HTML
Next articlediv tag in HTML
Namaskaar, Friends main Kapil byteshastra.com ka Founder hu. Mere kai English blog bhi hai ,par mera motive yahan par easy language mein Technology se related Gyan ko aap tak pahunchane ka hai .taki aap kuch naya shikh sake. meri koshish hai ki bilkul simple tarike se aap ko nyi updates deta rahu taki aap bhi technology ke is yug mein peeche na rahe aur shikte rahe.Mujhse judne ke liye app mujhe Social Media par follow kar sakte hai.

1 COMMENT

Leave a Reply