HTML provides three basic types of lists- unordered, ordered and definition list.
1. Unordered list:
Unordered list arranges the list items with bullet symbols in front. <UL> and </UL> tag encloses an Unordered list. List items are specified by <LI> tag. The tag <UL> can take values square, circle or disc. The default type is disc.
Eg: <UL>
<LI>COMPUTER
<LI>BIOLOGY
</UL>
2. Ordered list:
In Ordered list, the list items are numbered in sequence. <OL> and </OL> tag encloses an Ordered list. List items are specified by <LI> tag. The tag <OL> can take values as follows
1. type = 1 for 1,2,3
2. type = i for i, ii, iii
3. type = I fori, II, III,….
4. type = afora,b,c,…
5. type = AforA,B,C
Eg:<OL>
<LI>COMPUTER
<LI>BIOLOGY
</OL>
3. Definition List:
It is formed by a group of definitions and their descriptions. No bullet symbol or number is provided for the list items. The <DL> and </DL> tags enclose the definition list. The <DT> tag contains the definition term and <DD> tag specifies the description.
Eg: <DL>
<DT>Echeque
<DD>Electronic cheque
</DL>