🌐
W3Schools
w3schools.com › html › html_lists_ordered.asp
HTML Ordered Lists
Use the HTML <ol> element to define an ordered list · Use the HTML type attribute to define the numbering type ... For a complete list of all available HTML tags, visit our HTML Tag Reference.
🌐
TutorialsPoint
tutorialspoint.com › 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 numbers in HTML?
Another example to create an ordered list with list items numbered with numbers in HTML is as follows ? <!DOCTYPE html> <html> <head> <title>World Cup Teams</title> </head> <body> <h1>List of teams for World Cup</h1> <ol type = "1"> <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> After executing the above script, the output is achieved as follows ?
🌐
GeeksforGeeks
geeksforgeeks.org › html › html-ordered-lists
HTML Ordered Lists - GeeksforGeeks
July 23, 2025 - To create an ordered list in HTML with numerical markers, which is the default behavior for ordered lists, you simply use the <ol> (ordered list) tag without specifying a type attribute.
People also ask

How to create an HTML list with items numbered 1, 2, 3, 4...?
You can create an ordered list in HTML to list items marked with numbers by default. An ordered list begins with the tag and closes with the tag. Each list item has a starting tag and closing tag.
🌐
shiksha.com
shiksha.com › home › it & software › it & software articles › programming articles › html lists: ordered and unordered lists explained with examples
HTML Lists: Ordered and Unordered Lists Explained with Examples ...
How to create a simple list in HTML?
You can create a simple list in HTML with bullet points by using the HTML unordered list element . The unordered list will start with the tag and end with the tag. Each item within the unordered list will have a start tag and a closing tag .
🌐
shiksha.com
shiksha.com › home › it & software › it & software articles › programming articles › html lists: ordered and unordered lists explained with examples
HTML Lists: Ordered and Unordered Lists Explained with Examples ...
What is the use of HTML lists?
HTML lists help users display a list of data or information on a web page. The items in a list are related pieces of information. An HTML list shows these related items in an easy-to-read manner. In HTML, a list may contain one or more list items.
🌐
shiksha.com
shiksha.com › home › it & software › it & software articles › programming articles › html lists: ordered and unordered lists explained with examples
HTML Lists: Ordered and Unordered Lists Explained with Examples ...
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › HTML › Reference › Elements › ol
<ol>: The Ordered List element - HTML | MDN
To determine which list to use, try changing the order of the list items; if the meaning changes, use the <ol> element — otherwise you can use <ul> otherwise, or <menu> if your list is a menu. ... <p>Finishing places of contestants not in the winners' circle:</p> <ol start="4"> <li>Speedwalk ...
🌐
W3Schools
w3schools.com › html › html_lists.asp
HTML Lists
The list items will be marked with bullets (small black circles) by default: <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> ... An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
🌐
DhiWise
dhiwise.com › post › guide-to-creating-structure-content-using-html-ordered-lists
Creating Structured Content with HTML Ordered List
June 4, 2024 - By setting the start attribute on the <ol> element, you can define the exact number where your list should begin. The start attribute accepts an integer that indicates the first number of your ordered list.
🌐
Shiksha
shiksha.com › home › it & software › it & software articles › programming articles › html lists: ordered and unordered lists explained with examples
HTML Lists: Ordered and Unordered Lists Explained with Examples - Shiksha Online
October 13, 2024 - To mark the list items with letters A, B, C, etc., you must specify A as the type attribute’s value in the <ol> tag. Here is an example to show the use of Upper case letters to list the items.
🌐
TutorialsPoint
tutorialspoint.com › How-to-create-an-ordered-list-in-HTML
How to create an ordered list in HTML?
The <li> tag should be placed inside the <ol> tag to create the list of items. We use type attribute of the <ol> tag, for creating an ordered list with numbers. Following is the syntax to create an ordered list in HTML.
🌐
LabEx
labex.io › tutorials › html-html-ordered-list-70806
HTML Ordered List | LabEx
<!doctype html> <html> <head> ... be numbered as "3". In this lab, we learned how to create an ordered list in HTML using the <ol> tag....
Find elsewhere
🌐
freeCodeCamp
freecodecamp.org › news › html-list-how-to-use-bullet-points-ordered-and-unordered-lists
HTML List – How to Use Bullet Points, Ordered, and Unordered Lists
July 1, 2021 - The <ol> element has an interesting attribute called start. You can specify a value to the start attribute to start the ordered list from a specific number.
🌐
Mimo
mimo.org › glossary › html › ordered-lists
HTML ol Tag: The Ordered List Element
The HTML <ol> tag creates an ordered list of items, with each list item having a number (or letter) in front of it.
🌐
Programiz
programiz.com › html › ordered-list
HTML Ordered List (With Examples)
Each item of the list is enclosed inside the <li> tag and they are numbered by decimal numbers. By default, ordered lists are ordered by numbers, however, we can change them as per our choice. We use the type attribute to change the marker for the list. There are five types of numbering in ...
🌐
Tutorialspoint
tutorialspoint.com › html › html_ordered_lists.htm
HTML - Ordered Lists
To create an ordered list in HTML, we use the <ol> tag and nest <li> tags inside it. Each <li> element represents one item in the list. The numbering starts with 1 and is incremented by one for each successive ordered list element tagged with <li>. Like an unordered list, it also allows us ...
Top answer
1 of 2
3

You need an ordered list <ol> which by default will order them by numbers.

you can use the type="a" attribute in HTML to change it to lower case letters. Alternatively, you can change it with CSS by adding the following property: list-style-type: lower-alpha;

These are the options an unordered list has:

Sign Type
a lowercase letters
A uppercase letters
i lowercase Roman numerals
I uppercase Roman numerals
1 numbers (default)

The important thing is, that a "sub-list" must be still within the parent list point <li>

<ol type="A">
  <li>1st 1st-level list item
    <ol>2nd-level sublist
      <li>1</li>
      <li>2
        <ol type="a">
          <li>must be part of the 2nd main list point</li>
          <li>must be part of the 2nd main list point</li>
          <li>must be part of the 2nd main list point</li>
          <li>must be part of the 2nd main list point</li>
        </ol>
      </li>
      <li>for the 3rd main list point you need to add a new li</li>
    </ol>
  </li>
  <li>2nd 1st level list-item</li>
</ol>
2 of 2
0

Ordered List Combined by numbers, lower case, and roman numerals

I had a similar situation where I needed to have full control over my ordered list.

This page needed to combine numbers, upper and lower case, and roman numerals.

I also had to control the initial number, letter, or roman numeral on independent sections.

Here is a summary of the CSS and HTML I currently use as a guideline.

ol.upper-letter {
  list-style-type: upper-alpha;
}
    ol.lower-letter {
  list-style-type: lower-alpha;
}
ol.upper-roman-numerals {
  list-style-type: upper-roman;
}
ol.lower-roman-numerals {
  list-style-type: lower-roman;
}
<h4> Ordered List Combined by Numbers, Lower Case, and Roman Numerals</h4>
<ol start=”1”>
  <li>first level</li>
      <ol type='a' class='lower-letter' start='1'>
          <li>second level</li>
          <li>second level</li>
       </ol>
  <li>first level</li>
       <ol type='a' class='lower-letter' start='3'>
          <li>second level</li>
             <ol type='i' class='lower-roman-numerals' start='1'>
                  <li>third level</li>
                  <li>third level</li>
              </ol>
          <li>second level</li>
       </ol>
 <li>first level</li>
</ol>
🌐
Evolving Web
evolvingweb.com › blog › html-ordered-list-tricks-tutorial
HTML Ordered List Tricks Tutorial
After showing the class how to do this, I showed them the less frequently used <ol> tag, which creates an ordered list, like so: <ol> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ol> By default, numbers are used, listing these off as 1, ...
🌐
W3docs
w3docs.com › learn-html › html-lists.html
HTML Lists- Ordered, Unordered, and Description Lists Tutorial
<!DOCTYPE html> <html> <head> ... to create ordered list with alphabet or Roman numbers, you just need to add type="a" or type="I" to the <ol> tag....
🌐
Dremendo
dremendo.com › html-tutorial › html-ordered-list-tag
Ordered List in HTML | Dremendo
The list items are automatically numbered by the browser in ascending order. To create an ordered list in HTML, we first need to open the <ol> tag and add our list items within the <li> tags.
🌐
Tutorialspoint
tutorialspoint.com › html › html_lists.htm
HTML - Lists
To create an ordered list, the <ol> tag is used along with the <li> tag, where <li> specifies the list items. The following example demonstrates an ordered list having the list of 5 items: <!DOCTYPE html> <html> <head> <title>HTML List</title> </head> <body> <h2>Example of HTML List</h2> <ol> ...
🌐
TutorialsPoint
tutorialspoint.com › how-to-create-an-ordered-list-with-list-items-numbered-with-uppercase-letters-in-html
How to create an ordered list with list items numbered with uppercase letters in HTML?
Another example to create an ordered list with list items numbered with lowercase letters in HTML ? <!DOCTYPE html> <html> <head> <title>World Cup Teams</title> </head> <body> <h1>List of teams for World Cup</h1> <ol type = "A"> <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>