Computer Applications
Find the errors in the following HTML code and write the correct code.
<UL Style: Square> <LI> Water Bottles <LI> Lunch Box <LI> Handkerchief </OL>
Answer
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>
Related Questions
Write an HTML code to create the following ordered list.
C. Apples D. Oranges E. GrapesWrite an HTML code to create the following bulleted list.
- MS Word
- MS Excel
- MS PowerPoint
- MS Access
Identify error(s) in the following HTML code and write the correct code.
<OL Type= "a" Start= "d">Write a short note on web browser.