Computer Applications
Answer
Difference between Ordered and Unordered list:
S. No. | Ordered List | Unordered List |
---|---|---|
1. | The ordered list is used to display the list of items in a specific order. | The unordered list is used when the items are not to be displayed in any particular order. |
2. | <OL> tag is used to create ordered list. | <UL> tag is used to create unordered list. |
3. | E.g. <OL> <LI>Apple</LI> <LI>Mango</LI> <LI>Banana</LI> </OL> Output
| E.g. <UL> <LI>Apple</LI> <LI>Mango</LI> <LI>Banana</LI> </UL> Output
|