Numbered lists are surrounded by the <ol>...</ol> tags (ol stands for
Ordered List), and each item with the list begins with the <li> (List Item) tag.
|
Example <html> <head> <title> HTML Tutor </title><head> <body> <p>GIF images are used for several reasons: <ol> <li>GIF's Animation's <li>Transparent Images or Colors <li>Interlaced Pictures <li>Images either few colors (less than 256) </ol> </p> </body> </html> Output result |
For the <ol> tag, the type attribute indicates the numbering scheme
used for the list:
|
Example 2 <html> <head> <title> HTML Tutor </title><head> <body> <ol type=I> <li>GIF images are used for several reasons: <li>JPG Images </html> Output result |