How do you create an ordered list in HTML?

HTML Ordered Lists

❮ Previous Next ❯

The HTML

    tag defines an ordered list. An ordered list can be numerical or alphabetical.


    HTML Lists

    ❮ Previous Next ❯

    HTML lists allow web developers to group a set of related items in lists.


    Example

    An unordered HTML list:

    • Item
    • Item
    • Item
    • Item

    An ordered HTML list:

    1. First item
    2. Second item
    3. Third item
    4. Fourth item
    Try it Yourself »

    How to create an ordered list with list items numbered with numbers in HTML?

    HTMLWeb DevelopmentFront End Technology

    To create ordered list in HTML, use the

      tag. Ordered list starts with the
        tag. The list item starts with the
      1. tag and will be marked as numbers, lowercase letters uppercase letters, roman letters, etc. The default numbers for list items.

        For creating an ordered list with numbers, use the

          tag attribute type. This attribute will assign the value number i.e.
            to create ordered list numbered with numbers.

            How do you create an ordered list in HTML?

              : The Ordered List element

            The

              HTML element represents an ordered list of items — typically rendered as a numbered list.

              Content categoriesFlow content, and if the
                element's children include at least one
              1. element, palpable content.
              Permitted contentZero or more
            1. ,