मराठी

Write the difference between <OL> and <UL> tags in HTML. Also write suitable examples of each to illustrate the difference.

Advertisements
Advertisements

प्रश्न

Write the difference between <OL> and <UL> tags in HTML. Also write suitable examples of each to illustrate the difference.

फरक स्पष्ट करा
Advertisements

उत्तर

The <UL> tag is used to create an unordered or unnumbered list. In this type of list, each item is shown with a bullet symbol.

The <OL> tag is used to create an ordered or numbered list. In this type of list, each item is shown with a number or letter.

Example of <UL>:

<UL type="circle"> <LI>One <LI>Two
</UL>

It will display:

  • One
  • Two

Example of <OL>:

<OL> <LI>One <LI>Two
</OL>

It will display:

  • One
  • Two
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 3: HTML- I: Basic HTML Elements - Assisted Practice [पृष्ठ १२४]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
पाठ 3 HTML- I: Basic HTML Elements
Assisted Practice | Q 6. | पृष्ठ १२४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×