Solve problem "Create an Ordered List" online - Learn Python 3 - Snakify

Lesson: HTML5 and CSS

Create an Ordered List

HTML has a special element for creating ordered lists, or numbered-style lists.

Ordered lists start with a <ol> element. Then they contain some number of <li> elements.

For example:

<ol>
  <li>Garfield</li>
  <li>Sylvester</li>
</ol>

would create a numbered list of "Garfield" and "Sylvester".

Create an ordered list of the top 3 things cats hate the most.


The content on this page is licensed under Attribution-ShareAlike 4.0 International. Original authors: freeCodeCamp, the content was modified.