+ 2

How will i change my background colour even after writing the required code?

<hr/><b>This code has been written by <b> Suprabhat Kumar .</b></b> <hr/> <html> <head> <title> My Blog</title> </head> <body> <h1><span style="color:red">My Skills</span> </h1> <div style="background color : red; color:orange; padding:50px;"> <ol> <li><a href ="https://www.sololearn.com/Course/HTML/?ref=app">html</a></li> <li> <a href ="https://www.sololearn.com/Course/CSS/?ref=app">CSS</a></li> <li> <a href ="https://www.sololearn.com/Course/?ref=app">PYTHON</a></li> </ol> </div> </body> </html>

3rd Jun 2018, 4:04 PM
Suprabhat kumar
Suprabhat kumar - avatar
23 Answers
+ 10
no you forgot the first " and the =
3rd Jun 2018, 4:26 PM
Vincenzinho
Vincenzinho - avatar
+ 13
no problem :)
3rd Jun 2018, 4:28 PM
Vincenzinho
Vincenzinho - avatar
+ 13
Netherlands
3rd Jun 2018, 4:28 PM
Vincenzinho
Vincenzinho - avatar
+ 12
after style
3rd Jun 2018, 4:27 PM
Vincenzinho
Vincenzinho - avatar
+ 10
Just the =
3rd Jun 2018, 4:27 PM
Vincenzinho
Vincenzinho - avatar
+ 9
Just replace the first body tag by this: <body style="background-color:red;">
3rd Jun 2018, 4:25 PM
Vincenzinho
Vincenzinho - avatar
+ 8
add =
3rd Jun 2018, 4:22 PM
Vincenzinho
Vincenzinho - avatar
+ 8
nowhere
3rd Jun 2018, 4:24 PM
Vincenzinho
Vincenzinho - avatar
+ 7
put it at the first tag of the body. so <body bgcolor="red"> </body> i took background color red. but you can choose your own color
3rd Jun 2018, 4:11 PM
Vincenzinho
Vincenzinho - avatar
+ 7
post the code so we can look
3rd Jun 2018, 4:16 PM
Vincenzinho
Vincenzinho - avatar
+ 7
post it here
3rd Jun 2018, 4:17 PM
Vincenzinho
Vincenzinho - avatar
+ 7
add quotian marks before background
3rd Jun 2018, 4:20 PM
Vincenzinho
Vincenzinho - avatar
+ 7
<body style="background-color:red;"> this is how it should be.
3rd Jun 2018, 4:22 PM
Vincenzinho
Vincenzinho - avatar
+ 4
<body style="background-color:red;"> or by <style> body{ background-color:red; } </style>
3rd Jun 2018, 4:09 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
none of ur ans. gave me desired result
3rd Jun 2018, 4:16 PM
Suprabhat kumar
Suprabhat kumar - avatar
+ 2
i have already posted
3rd Jun 2018, 4:17 PM
Suprabhat kumar
Suprabhat kumar - avatar
+ 2
even now no ans.
3rd Jun 2018, 4:22 PM
Suprabhat kumar
Suprabhat kumar - avatar
+ 2
where shud i add "add"
3rd Jun 2018, 4:23 PM
Suprabhat kumar
Suprabhat kumar - avatar
+ 2
i have written the same thing
3rd Jun 2018, 4:26 PM
Suprabhat kumar
Suprabhat kumar - avatar
+ 2
thnx a ton buddy
3rd Jun 2018, 4:27 PM
Suprabhat kumar
Suprabhat kumar - avatar