An ordered list in HTML is a list that is organized in a specific sequence or order, typically represented by numbers or letters. This type of list is created using the
Here’s an example of an ordered list in HTML:
Output:
1. First item
2. Second item
3. Third item
An unordered list in HTML, on the other hand, is a list where the order of items doesn’t matter. The items in an unordered list are typically represented by bullets. This type of list is created using the
Here’s an example of an unordered list in HTML:
Output:
• Item One
• Item Two
• Item Three