Creating List in HTML Language

Creating List in HTML

A list in HTML start with a tag identifying the type of the list (<UL>, <OL> or <DL>) and each item of that list start with <LI> tag to denote the beginning of the list item. These tags have some attributes to design a desired list.Here we describe creating lists of various types.

1.Unnumbered List.

example:

 <ul type=circle>
 <li>pen</li>
 <li>ball</li>
 <li>note book</li>
 </ul>
 <ul type=square>
 <li>apple</li>
 <li>mango</li>
 <li>banana</li>
 </ul>

 

2.Ordered List.

 <ol>
 <li>pens</li>
 <li>ball</li>
 <li>note book</li>
 </ol>