When writing in HTML, the

    tag is a block element used to designate an ordered list. It is useful for creating lists that are either numbered or alphabetical. The following sections contain information about the
      tag, including an example of it in use, and related attributes and browser compatibility.

      Example of
        code

      Ordered list

      1. First numbered item
      2. Second numbered item
      3. Third numbered item

      Start at number 5

      1. Fifth numbered item
      2. Sixth numbered item
      3. Seventh numbered item

      Example result

      Ordered list

      • First numbered item
      • Second numbered item
      • Third numbered item

      Start at number 5

      • Fifth numbered item
      • Sixth numbered item
      • Seventh numbered item

      Attributes

      Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows the current unique HTML attributes for the

        tag, and a description of each.

        If you wanted to create a bullet list or unordered list, use the

          tag.

          • Example of
              code
            1. Example result
            2. Attributes
            3. Deprecated attributes
            4. Compatibility
            5. Related information

          Each number is created using the

        • tag, which designates a list item.

          Deprecated attributes

          A deprecated attribute is one that may function currently but is not supported in going forward. While the attribute may work with the current version of HTML, it will eventually be phased out. It is better to avoid using these attributes to help future-proof your website.

          Compatibility

          Browser, Compatibility, Container tag, HTML li tag, HTML ul tag, List, Web design terms

          • How to create a bullet and number list in HTML.
          • HTML and web design help and support.