CBSE Class 10 Computer Applications
Question 21 of 31
Solved 2023 Question Paper CBSE Class 10 Computer Applications (165) — Question 9
Back to all questions 9
Question Question 18(b)
Write the difference between <ol> and <ul> tags in HTML. Also write suitable examples of each to illustrate the difference.
| Unordered list | Ordered list |
|---|---|
| In an unordered list, each item is displayed with a bullet. | In an ordered list, each item is displayed along with the numbers or letters instead of bullets. |
| <ul> and </ul> tags are used. | <ol> and </ol> tags are used. |
| For example <UL> <LI> Apples </LI> <LI> Oranges </LI> <LI> Grapes </LI> </UL> | For example <OL> <LI> Apples </LI> <LI> Oranges </LI> <LI> Grapes </LI> </OL> |
Output
| Output
|