HTML DIR Tag, dir tag in html
×

HTML DIR <Dir> Tag

2521

The HTML DIR <dir> tag was a block element used to define a list of directory titles. The list of directory titles is marked with bullets by default. It is not supported in HTML5.

Syntax:

<dir> Lists... </dir>

Code:

<!DOCTYPE html>
<html>
 <head>
  <title> dir Tag </title>
 </head>
<body>
<h2> dir tag example </h2>
<dir>
 <li>HTML</li>
 <li>JavaScript</li>
 <li>PHP</li>
 <li>MySQL</li>
</dir>
</body>
</html>

Output:



Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments