Header Ads

Ordered List




An ordered list is a list of items arranged in a particular order. Here, the order of the items is important as it indicates a sequential flow. For example, to display the days in a
week or months in a year, you would use numbered bullets. Similarly, HTML allows you to implement ordered lists where each item in the list is displayed using a numbered or alphabet bullet.

HTML provides two elements for creating an ordered list. These are as follows:

  • OL: Creates an ordered list.
  • LI: Specifies an item and it is a sub-element of the OL element
Out put this code.


    No comments:

    Powered by Blogger.