11.
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]
Answers
Answered by
25
Explanation:
<HTML>
<HEAD>
<TITLE> ABCDEFG </TITLE>
</HEAD>
<BODY>
<UL TYPE - 'SQUARE'>
<LI> WATER BOTTLE </LI>
<LI> LUNCHBOX </LI>
</UL>
</BODY>
</HTML>
Answered by
42
Answer:
<!DOCTYPE html>
<html>
<body>
<ul style="list-style-type:square;">
<li>Water Bottles </li>
<li> Lunch Box </li>
<li> Handkerchief </li>
</ul>
</body>
</html>
There were many errors in your HTML code such as tags were not closed, and some tags were closed with wrong sign, in ul tag style was also not mentioned correctly.
The above HTML code will give you proper output.
ul => Unordered List
HTML => Hyper Text Markup Language
Similar questions