HTML DIR <Dir> Tag
0 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:
Share:
Comments
Waiting for your comments