Advertisement
Google Ad Slot: content-top
Order list
In HTML, you can create an ordered list (numbered list) using the <ol> element. Inside the <ol>, each list item is defined using the <li> (list item) element. Here's an example:
Common list-style-type Values:
| Attribute Value | Description |
|---|---|
| type="A" | Uppercase letters |
| type="a" | Lowercase letters |
| type="I" | Roman numerals |
| type="i" | Lowercase Roman numerals |
Nested Lists:
Ordered lists can be nested inside each other to create sub-lists.