Write the HTML5 code to all order list | HTML - IProgramX

Q. Write the HTML5 code which generates the following output
  • Coffee
  • Tea
    • Black tea
    • Green tea
  1. Africa
  2. China

  • Milk

HTML Code:

<html>
<head>
</head>
<body bgcolor="black" text="sky blue">
<font face="arial" size="6" color="yellow">
<ul type="disc">
<li>Coffee
<li>Tea
<ul type="square">
<li>Black tea
<li>Green tea
</font>
<ol type="1" start="1">
<body bgcolor="pink">
<font size="6" face="arial" color="blue"><li>Africa</font>
<font size="6" face="arial" color="PINK"><li>China</font>
<font>
</ol>
</ul>
<font face="arial" size="6" color="red">
<ul type="disc">
<li>Milk
</font>
</ul>
</body>

</html>

Output:
  • Coffee
  • Tea
    • Black tea
    • Green tea
  1. Africa
  2. China

  • Milk

Post a Comment

0 Comments