CBSE Class 10 Computer Applications Question 11 of 176

HTML I — Basic HTML Elements — Question 9

Back to all questions
9
Question

Question 9

The numbered lists can be created by ............... tag.

  1. <UL>
  2. <OL>
  3. <LI>
  4. Both (1) and (2)
  5. Both (1) and (3)
  6. Both (2) and (3)
Answer

Both (2) and (3)

Reason — The numbered lists can be created by <OL> and <LI> tags. A numbered list begins with a tag that identifies the type of list (<OL> for numbered) and then uses the <LI> tag to denote the beginning of each new list item. For example:

<OL>
    <LI> First item</LI>
    <LI> Second item</LI>
    <LI> Third item</LI>
</OL>