CBSE Class 10 Computer Applications
Question 12 of 79
Basic HTML Elements — Question 3
Back to all questions 3
Question Question 3
Find error(s) in the following HTML code segment. Rewrite the correct code and underline the corrections made.
<UL STYLE: square>
<LI> Water Bottles
<LI> Lunch box
<LI> Handkerchief
</OL>
The errors in the given code are as follows:
- The name of the attribute should be 'Type' and not 'Style'.
- The attribute is followed by an '=' symbol and not a ':' symbol.
<LI>tags should be closed with</LI>- The closing tag should be
</UL>instead of</OL>.
The correct code is as follows:
<UL Type= "Square">
<LI>Water Bottles</LI>
<LI>Lunch Box</LI>
<LI>Handkerchief</LI>
</UL>