Snippets

Create Ordered List in HTML

Posted by I. B. Gd Pramana A. Putra, 11 Aug 22, last updated 11 Aug 22

Ordered list is an entry which in each point will be displayed with sequential number in front, such an example:

  1. Kodekativ Indonesia
  2. Kodekativ Worldwide
  3. Devs-x.co
  4. Typical.fyi
  5. Relisting.xyz

Snippet example:

<!DOCTYPE HTML>
<html>
<ol>
    <li>Kodekativ Indonesia</li>
    <li>Kodekativ Worldwide</li>
    <li>Devs-x.co</li>
    <li>Typical.fyi</li>
    <li>Relisting.xyz</li>
</ol>
<html>

The opposite of ordered list is unordered list in HTML.

I love sharing code snippets as most of the time, a quick code example is what we're looking for instead of long-written articles. If you think my code snippets are helpful and save you a lot of time, please consider buying me a cup of coffee :)

Support me via · paypal · buymeacoffee · ko-fi · trakteer
Contributed Snippets
Answer & Responses
    No comments yet

Wanna write a response?

You have to login before write a comment to this post.