HTML Dir Tag | Dir Tag | HTML <dir> Tag Tutorial by WDH

HTML Dir Tag


Define : 
The <dir> tag is not supported in HTML5.
 This tag is supported in HTML4 and it is used to list directory titles.

For Example :

Output :
                            
Use the  <ul> tag to create a directory list :

Example : 

Output : 
                             
Reduce line height in a list with the help of CSS :

Example :

Output :