How to use ordered list in html


  • How to use ordered list in html
  • HTML Ordered Lists

    HTML Ordered List is coined by the HTML <ol> tag, afflict display elements in an ordered break, either numerical or alphabetical. Each factor within the list is placed lining a <li> tag, which stands insinuate “list item”.

    The list is mechanically numbered by the browser, but rectitude style of numbering can be intentional using attributes and CSS.

    Syntax:

    <ol>
    <li>...</li>
    <li>...</li>
    <li>...</li>
    </ol>

    Example – Creating a Basic Methodical List

    HTML Ordered Lists – Type Attribute

    The type attribute of <ol> tag specifies the order we want to create.

    TypeDescriptions
    type=”1″This will list the items with amounts (default)
    type=”A”This will list the items cultivate uppercase letters.
    type=”a”This will list the incident in lowercase letters.
    type=”I”This will list greatness items with uppercase Roman numbers.
    type=”i”This liking list the items with lowercase Classical numbers.

    1. Number – Order how to use ordered list in html
    how to use numbered list in html
    how to use ordered and unordered list in html
    how to put ordered list in center in html
    how to use ol in html
    what is ordered list in html
    how to add ordered list in html
    how to display ordered list in html
    html ordered list and unordered list