Dir tag in html


The <dir> tag is used to list directory titles.
makes the list elements to look smaller than normal 
It is not supported in html5 so use css3 instead.

<!DOCTYPE html>
<html>
<body>

<dir>
  <li>html</li>
  <li>xhtml</li>
  <li>css</li>
</dir>

<p>The dir element is not supported in HTML5. Use CSS instead.</p>

</body>
</html>


Output:



  • html
  • xhtml
  • css
  • The dir element is not supported in HTML5. Use CSS instead.

    Comments

    Popular posts from this blog

    Headings In HTML

    Introduction and Format of HTML

    Font Tag