When it comes to learning HTML, one of the most popular online resources is W3Schools. This platform offers a wealth of information and interactive tutorials to help beginners and professionals alike master the language. In this guide, we'll delve into one of W3Schools' most useful features: the numbered list.

Numbered lists are a fundamental element of HTML that can help organize information and enhance readability. W3Schools HTML tutorials offer clear, step-by-step instructions to create these lists, making it easy to understand and apply this concept.

Understanding Ordered Lists
Ordered lists, also known as numbered lists, use the
- tag in HTML. The browser automatically numbers each list item (
- ), providing a simple, yet effective way to display sequential information.

W3Schools' HTML ordered list tutorial demonstrates this with a simple example. Here, you can see how adding the
- and
- tags creates a list with automatic numbering:
- Item 1
- Item 2
- Item 3

Starting a List with a Certain Number
Sometimes, you may need to start a list with a number other than 1. W3Schools explains how to do this using the
- attribute, where 'n' is the desired starting number:
- Item 1
- Item 2
- Item 3

Reversing the List Order
To reverse the list order, you can add the
- attribute. This will display the items in descending order:
- Item 1
- Item 2
- Item 3

Creating Numbered Sub-lists
Numbered lists can also include sub-lists, further enhancing their organizational capabilities. W3Schools shows how to create these using nested
- tags:


















- Item 1
- Sub-item 1
- Sub-item 2
Each sub-list will be automatically numbered in relation to its parent list, maintaining the hierarchical structure.
Whether you're a beginner or an experienced web developer, understanding and using ordered lists is crucial for creating clean and readable web content. W3Schools' HTML tutorials provide an excellent starting point to master this skill. So, why not jump in and start practicing today?