An unordered list is a list of items.
The list items are marked with bullets
(typically small black circles),
it does not have numbers in the list.
An unordered list starts with the <ul>
tag and end with </ul>
list items are defined in between
<ul> & </ul>. Each list item is surrounded by
the <li> & </li> tag.
<ul> tag is used for unordered list.
Between <ul> & </ul> you have to enter list of items.
<li> tag is used for list item.
Each list item is surrounded by <li> & </li> tag.
Format:
<ul> <li> item1 </li> <li> item2 </li>
.......<li> itemn </li> </ul>
Example
<ul>
<li>Text Book </li><li>Note Book</li>
<li>Pen</li><li>Pencil</li>
</ul>
Output of above example:
- Text Book
- Note Book
- Pen
- Pencil
So one can use unorder list for
displaying unorder items.
0 comments:
Post a Comment