This page shows how to make different kinds of numbered lists.
You have the following number options:
- Plain numbers
- Capital Letters
- Small Letters
- Capital Roman Numbers
- Small Roman Numbers
In addition to these options you can specify at which number the list should start. The default start value for numbered lists is at number one [or the letter A].
Look at these examples to see the detailed syntax.
HTML-CODE | EXPLANATION / EXAMPLE |
Makes a numbered list using the default number type:
| |
Starts a numbered list, first # being 5.
| |
Starts a numbered list, using capital letters.
| |
Starts a numbered list, using small letters.
| |
Starts a numbered list, using capital roman numbers.
| |
Starts a numbered list, using small roman numbers.
| |
Starts a numbered list, using normal numbers.
| |
An example of how type and start can be combined.
|
Try the HTML5 and CSS3 Course for Free!
Ordered Lists in HTML: Overview
You can insert ordered lists in HTML documents to display organized lists of items that start with a number or letter and continue in sequence. Ordered lists in HTML are generally used to list items by their priority or their sequence in a process. For example, you might use ordered lists in HTML to show instructions about completing a specific task.
When you create ordered lists in HTML, you must use two different tags. First, place the
- …
You have five choices when creating ordered lists in HTML: upper-case letters [A,B,C], lower-case letters [a,b,c], upper-case Roman numerals [I,II,III], lower-case Roman numerals [i,ii,iii] and Arabic numerals [1,2,3], which are the default. You define the type of ordered list you want by using the TYPE attribute and placing it within the
- start tag.
- … [Line item]
- First Item
- Second Item
- Third Item
- to be displayed as an ordered list.
- First Item
- Second Item
- Third Item
- To create an ordered list in HTML, type the first part of the start tag
- Press the “Enter” key on your keyboard.
- Type .
- Type the text for the first item in your list.
- Type .
- Repeat steps 4 through 7 for each additional line item to add.
- When done, press the “Enter” key on your keyboard.
- Type
- tag is used to define each list item. Tip: Use CSS to style lists.
- tag to create unordered lists. Tip: Use CSS to style lists. Tip: For ordered lists, use the
- tag.
You can also start the ordered sequence at any point in the sequence by using the START attribute. For example, if you wanted to start your list with item D, you would use the attribute start=“D” by placing it within the
- start tag.
Start Tag: | ||
End Tag: | ||
Attributes: | type=“1” [Default] | List sequence uses 1,2,3, etc. |
type=“A” [Upper case alphabet] | List sequence uses A,B,C, etc. | |
type=“a” [Lower case alphabet] | List sequence uses a,b,c, etc. | |
type=“I” [Upper case Roman numerals] | List sequence uses I,II,III, etc. | |
type=“i” [Lower case Roman numerals] | List sequence uses i,ii,iii, etc. | |
start=“?” [Starting value] | Where “?” is the starting value. | |
Related Tags: | ||
Example: | My list: | This tag will cause the items surrounded by the line item tags |
Result: | My list: |
Ordered Lists in HTML: Instructions
Ordered Lists in HTML: Video Lesson
The following video lesson, titled “Numbered [Ordered] Lists,” shows you how to create ordered lists in HTML. This video lesson is from our introductory HTML5 and CSS3 course, titled “Mastering HTML5 and CSS3 Made Easy v.1.0.”
Tagged under: add a numbered list in html, add an ordered list in html, add ordered lists in html, help, how to add a numbered list in html, how to create a numbered list in html, how to create lists in html, how to create numbered lists in html, how to create ordered lists in html, how-to, html, html help, html ordered list, html5, HTML5 class, html5 ordered list, learn, lesson, li tag in html, list, lists, numbered list, numbered lists, ol tag in html, ordered list, ordered list html, ordered list in html, ordered lists, ordered lists in html, Ordered Lists in HTML5, overview, tag, teach, training, tutorial, video, what is an ordered list, write HTML
What is the numbered list tag in HTML?
What are the types of number list in HTML?
How can you make a bulleted list HTML?
- tag
- tag together with the