Create an HTML5 program list city in order | HTML - IProgramX

Q. Create an HTML5 program using the body given in the example for ordered list . Modified it to change the color of  the item text to _ and reduce size of text one smaller than the heading


HTML Code:

<html>
<body bgcolor="pink">
<font face="arial" size="6"color="blue">
<u>
list of cities...........
</u>
</font>
<font face="arial" size="3"color="red">
<ol type="A"start="A">
<li>Mumbai
<li>pune
<li>naskik
<li>Nagpur
</ol>
</font>
</body>
</html>

Output:
list of cities...........
  1. Mumbai
  2. pune
  3. naskik
  4. Nagpur


Post a Comment

0 Comments