Friday, 28 June 2013

UNORDERED LIST

UNORDERED LIST 

Unordered list is a a kind of list in which the list item represent in a sequence order without any no or alphabet. Unordered list represent in three different formats. Which are mentioned below:
  1. Disc
  2. Circle
  3. Square
You can not start the list with any no or alphabet because all the symbols are same. The Unorder List tag is as mentioned  <UL>, here "U" stands for unorder and "L" stands for List. One more important tag is <LI> which is known as List Index, this tag is used to enter the entries in the List. You must close the <UL> tag but <LI> is not necessary to close.
To use the style and start use the Tag like <UL type= disc>.

Some simple code is as mentioned below:


<ul  type=disc>
<li>Pakistan
</li>
<li>India
</li>
<li>China
</li>
<li>America
</li>
<li>Afghanistan
</li>
</ul>

Output is shown below: Check the other attributes by placing the code with your own.


  • Pakistan
  • India
  • China
  • America
  • Afghanistan

No comments:

Post a Comment