1.

Explain the following with the help of an example.(a) <B>……..</B>(b) <OL type =“1”>

Answer»

(a) <B> tag makes the text bold.

e.g. <B> This is a bold text </B>

Output

This is a bold text

(b) <OL> tag with attribute type of value “1” displays the lists of items with arabic numerals,

e.g.<OL type=“1”>

<LI> Mango </LI>

<LI> Apple </LI>

<LI> Banana </LI>

</OL>

Output

1. Mango 

2. Apple 

3. Banana



Discussion

No Comment Found