|
|||||||||||||||||||
| LESSON 05 | |||||||||||||||||||
<List>
Tag |
|||||||||||||||||||
| Another HTML important tag is List. They can be divided into three classes : | |||||||||||||||||||
|
|||||||||||||||||||
|
|||||||||||||||||||
|
|||||||||||||||||||
| 1). Ordered List | |||||||||||||||||||
|
Download Wallpaper Download Wallpaper Download Wallpaper |
|
||||||||||||||||||
<OL> <LI>Item Name </LI> </OL> Here, OL means Ordered List, whereas LI means List Item. |
|||||||||||||||||||
| Example: | |||||||||||||||||||
<OL> <LI> Apple </LI> <LI> Banana </LI> <LI> Cherry </LI> </OL> |
|||||||||||||||||||
| Result: | |||||||||||||||||||
|
|||||||||||||||||||
| Attributes: | |||||||||||||||||||
| Type | |||||||||||||||||||
|
|||||||||||||||||||
| Type Groups: | |||||||||||||||||||
*). A = Capital Letter. *). a = Small Letter. *). I = Roman Capital Letter. *). i = Small Roman Letter. *). 1 = Numbers |
|||||||||||||||||||
| Example: | |||||||||||||||||||
|
|||||||||||||||||||
<OL type="A"> <LI> Apple </LI> <LI> Banana </LI> <LI> Cherry </LI> </OL> |
|||||||||||||||||||
| Result: | |||||||||||||||||||
|
|||||||||||||||||||
| Type "a" : | |||||||||||||||||||
<OL type="a">
<LI> apple </LI>
<LI> banana </LI>
<LI> cherry </LI>
</OL> |
|||||||||||||||||||
| Result: | |||||||||||||||||||
|
|||||||||||||||||||
| Type "I" : | |||||||||||||||||||
<OL type="I">
<LI> apple </LI>
<LI> banana </LI>
<LI> cherry </LI>
</OL> |
|||||||||||||||||||
| Result: | |||||||||||||||||||
|
|||||||||||||||||||
| Type "i" : | |||||||||||||||||||
<OL type="i">
<LI> apple </LI>
<LI> banana </LI>
<LI> cherry </LI>
</OL> |
|||||||||||||||||||
| Result: | |||||||||||||||||||
|
|||||||||||||||||||
| 2). Un-Ordered List | |||||||||||||||||||
This kind of a list is use to create a list which is not in order.
|
|||||||||||||||||||
| You can set its type value as Disk or Circle or square. | |||||||||||||||||||
| Type "Disk" : | |||||||||||||||||||
<UL type="disk">
<LI> apple </LI>
<LI> banana </LI>
<LI> cherry </LI>
</UL> |
|||||||||||||||||||
| Result: | |||||||||||||||||||
|
|||||||||||||||||||
Type "Circle"
:
|
|||||||||||||||||||
<UL type="circle">
<LI> apple </LI>
<LI> banana </LI>
<LI> cherry </LI>
</UL> |
|||||||||||||||||||
| Result: | |||||||||||||||||||
|
|||||||||||||||||||
| Type "Square" : | |||||||||||||||||||
<UL type="square">
<LI> apple </LI>
<LI> banana </LI>
<LI> cherry </LI>
</UL> |
|||||||||||||||||||
| Result: | |||||||||||||||||||
|
|||||||||||||||||||
| 3). Definition | |||||||||||||||||||
This kind of a list is use create a definition list or you can say this list is use to define.
|
|||||||||||||||||||
|
|||||||||||||||||||
|
|||||||||||||||||||
| |
|||||||||||||||||||
|
|||||||||||||||||||