CBSE Class 10 Computer Applications Question 32 of 79

Basic HTML Elements — Question 5

Back to all questions
5
Question

Question 5

Differentiate between Ordered and Unordered list with the help of an example.

Answer

Difference between Ordered and Unordered list:

S.
No.
Ordered ListUnordered 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
  1. Apple
  2. Mango
  3. Banana
E.g.
<UL>
<LI>Apple</LI>
<LI>Mango</LI>
<LI>Banana</LI>
</UL>

Output
  • Apple
  • Mango
  • Banana