Q. Consider the following HTML code given below and identify the errors.
<HTML><BODY>
<UL type = “bullet”>
<LI> Apple
<LI> Mango
<LI> Orange </UL></BODY></HTML>
Answers
<HTML><BODY>
<UL type = “bullet”>
<LI> Apple
<LI> Mango
<LI> Orange </UL></BODY></HTML>
<HTML>
<HEAD>
<TITLE> Javatechig | List Example </TITLE>
</HEAD>
<BODY>
<H1> Fruits </h1>
<ol>
<LI> Apple
<LI> Mango
<LI> Orange
</UL>
</BODY>
</HTML>
________________________________
Here, The <ul> tag defines an unordered (bulleted) list. The <ul> tag together with the <li> tag to create unordered lists.
<HTML><BODY>
<UL type = “bullet”>
<LI> Apple
<LI> Mango
<LI> Orange </UL></BODY></HTML>
<HTML>
<HEAD>
<TITLE> Javatechig | List Example </TITLE>
</HEAD>
<BODY>
<H1> Fruits </h1>
<ol>
<LI> Apple
<LI> Mango
<LI> Orange
</UL>
</BODY>
</HTML>
________________________________
Here, The <ul> tag defines an unordered (bulleted) list. The <ul> tag together with the <li> tag to create unordered lists.