HTML list tag

Last Updated on April 26, 2023 by Roshan Parihar

HTML List tag is used to show information in the form of list.


Syntax


List of HTML List tag

Sr. No. Tag Name Description
1 <ul> Used to show unordered list and it has no special order. We can call it as a bulleted list. See HTML unordered list tag for more details.
2 <ol> Used to show ordered list and its output starts with numbers. We can call it as a numbered list. See HTML ordered list tag for more details.
3 <dl> Used to show description list. We can call it as a Definition list. See HTML dl tag for more details.

Output

List of Games:

  • Football
  • Cricket
  • Table Tennis

List of some more Games:

  1. Badminton
  2. Basketball
  3. Baseball

List of Fast Food company with items purchased:

Mr. Brown
Hot Cheese Burgor with chilli
McDonald
Hot Cheese Pizza with garlic Flavour

Resources and References

1. W3C Specification.
2. HTML living standard
3. W3C project using Github