An unordered list is a bulleted list of items and defined using the tags <ul> and </ul>. Each item in the list is defined using tags <li> and </li>. The default bullet style is a disc (a filled circle). You can change the bullet style by setting the type attribute to circle, square or disc.
<ul type="square">
<li> Apple </li>
<li> Orange </li>
<li> Grapes </li>
</ul>
An ordered list is a numbered list of items and defined using the tags <ol> and </ol>. Each item in the list is defined using tags <li> and </li>. The default numbering style is 1,2,3,.. You can change the numbering style by setting the type attribute to one of the following :
1 - for numbers
a - for lower case letters
A - for upper case letters
i - for lower case roman numerals
I - upper case roman numerals
<ol type="I">
<li> First </li>
<li> Second </li>
<li> Third </li>
</ol>
Nothing yet..be the first to share wisdom.