Switch to full style
HTML code examples
Post a reply

dir tag usage

Fri Jan 06, 2012 10:06 pm

Dir tag is used to define list like <ul> tag, dir tag is no longer supported in HTML5

Code:
<html>
<
head>
<
title>dir usage example</title>
</
head>
<
body>
<
p>
Defining  a color list : 
</
p>
<
dir
  <
li>Red</li>
  <
li>Green</li>
  <
li>Blue</li>
  <
li>Black</li>
  <
li>White</li>
  <
li>Orange</li>
  <
li>Yellow</li>
  <
li>Gray</li>
</
dir>
</
body>
</
html>
 




Post a reply
  Related Posts  to : dir tag usage
 Usage of ins tag     -  
 usage of kbd tag     -  
 tt usage example     -  
 Usage of UL tag     -  
 Usage of sub tag     -  
 var tag usage     -  
 usage of ol tag     -  
 Usage of sup tag     -  
 dd tag usage     -  
 Usage of the before CSS attribute     -  

Topic Tags

HTML Direction