How to Create an Ordered List in HTML
Ordered lists in HTML are used to display a series of informational items with neat indentation and with sequenced numbering. The numbering is created automatically and adjusts if you add or remove items to the list. Create an ordered list in HTML by using instructions knowns as "tags." By placing "tags" on either side of your text, you can create professional-looking ordered lists.
Instructions
-
Create the Ordered List
-
1
Place your cursor exactly where you want to begin your ordered list on your web page.
-
2
Type the following:
-
-
3
Insert the following on a new line to represent the contents of the first item in the list:
- First item
-
4
Replace "First item" with the text that represents the first item of the list.
-
5
Repeat the previous step once for each item you want to include in this list.
-
6
Write
on its own line after you have defined all the items you want in this list.
-
1
Tips & Warnings
If you don't want numbers to appear by each item list, use an unordered list instead.
If you want to itemize the list by letters instead of numbers, you can include the following attribute inside your opening
tag by putting it between the "l" and the ">":type = "A".Make sure every pair of
- tags you create is always surrounded (enclosed by) the pair of
tags.