Html Dir Tag

In the html <dir> tag is used to indicating a directory list and which tag is not support on html5 and which tag is supporting to all main browser example IE, firfox,etc ... .The <dir> tag standard attributes are class, dir, lang ,style and title and The Event attributes are onclick, ondblclick, onmousedown and onmousemove.

Syntax:

<dir> ... </dir>

Example Code

<dir>
  <li>html</li>
  <li>php</li>
  <li>java</li>
</dir>

Out Put:



  • Html
  • Php
  • Java
  • In the above example <dir> tag has been added to programming language.





    Content