how to create an ordered lists with bgcolor red in html
Answers
Answered by
2
♠ ANSWER :
To create HTML ordered list with Bgcolor red....
❇
<HTML>
<HEAD>
<TITLE>Ordered list with Bgcolor red </TITLE >
</HEAD>
<BODY BGCOLOR ="RED" >
<OL><LI>MANGO
<LI>APPLE
<LI>GRAPES
</OL>
</BODY>
</HTML>
To create HTML ordered list with Bgcolor red....
❇
<HTML>
<HEAD>
<TITLE>Ordered list with Bgcolor red </TITLE >
</HEAD>
<BODY BGCOLOR ="RED" >
<OL><LI>MANGO
<LI>APPLE
<LI>GRAPES
</OL>
</BODY>
</HTML>
Answered by
1
Hi
If you wanna put the red background at whole webpage, then you should use @her code
but if you want css approach then you can do it like below
<style>
ul {
background-color: red;
}
</style>
make list in webpage then put this css inside head tag.
Similar questions