
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
How to create an ordered list with list items numbered with lowercase roman numbers in HTML?
A list is a connected items written consecutively (usually one below other). Using HTML, you can create two kinds of lists unordered list and ordered list.
An ordered list is marked with the numbers by default. You can create an ordered list using the <ol></ol> tag and, define the list items using <li></li>.
We can create 4 types of ordered lists IN HTML −
type="1"− This creates a numbered list starting from 1.
type="A"− This creates a list numbered with uppercase letters starting from A.
type="a"− This creates a list numbered with lowercase letters starting from a.
type="I"− This creates a list numbered with uppercase roman numbers starting from I.
type="i"− This creates a list numbered with lowercase roman numbers starting from i.
Syntax
Following is the syntax to create an ordered list items numbered with lowercase roman numbers in HTML.
<ol type="i"> <li>Item in list…</li> <li>Item in list…</li> <li>Item in list…</li> </ol>
Example 1
Given below is an example to create an ordered list items numbered with lowercase roman numbers in HTML.
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <ol type="i"> <li>Abdul</li> <li>Jason</li> <li>Yadav</li> <li>Lokesh</li> </ol> </body> </html>
Following is the output for the above example program.
Example 2
Let us look at another example to create an ordered list with lowercase roman numbers as bullets −
<!DOCTYPE html> <html> <head> <title>World Cup Teams</title> </head> <body> <h1>List of teams for World Cup</h1> <ol type = "i"> <li>India</li> <li>Australia</li> <li>South Africa</li> <li>New Zealand</li> <li>Pakistan</li> <li>Srilanka</li> <li>West Indies</li> <li>Bangladesh</li> </ol> </body> </html>
The output achieved after executing the HTML code is −
- Related Articles
- How to create an ordered list with list items numbered with uppercase roman numbers in HTML?
- How to create an ordered list with list items numbered with lowercase letters in HTML?
- How to create an ordered list with list items numbered with numbers in HTML?
- How to create an ordered list with list items numbered with uppercase letters in HTML?
- How to create an ordered list in HTML?
- Create an ordered list in HTML
- Make an Ordered list with Bootstrap
- How to create an unordered list with disc bullets in HTML?
- How to create an unordered list with circle bullets in HTML?
- How to create an unordered list with square bullets in HTML?
- How to create an unordered list with image bullets in HTML?
- How to close list items with JavaScript?
- Style the numbering characters in an ordered list with CSS
- Set the start value of an ordered list in HTML?
- Create list of numbers with given range in Python
