HTML: Create numbered list - how it works
Punctuated lists are good, numbered lists even better in some cases. Fortunately, this is also quite easy in HTML. Our guide explains which code tags you need to do this.
HTML distinguishes between two types of lists: <ol> stands for "ordered list", <ul> for "unordered list". The former is the numbered list.HTML: Create numbered list with <ol>tag
You create a numbered HTML list as follows:- Start the first bullet point with <ol><li> and end it with </li>. The <li>tag stands for "list item" and defines each individual bullet point of the numbered list.
- Following the first bullet point, you consequently define further bullet points in exactly the same way, i.e. with <li>content</li>.
- First after the last bullet point, you close the numbered list with </ol>.