+ 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>
23 Antworten
+ 10
no you forgot the first " and the =
+ 13
no problem :)
+ 13
Netherlands
+ 12
after style
+ 10
Just the =
+ 9
Just replace the first body tag by this:
<body style="background-color:red;">
+ 8
add =
+ 8
nowhere
+ 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
+ 7
post the code so we can look
+ 7
post it here
+ 7
add quotian marks before background
+ 7
<body style="background-color:red;">
this is how it should be.
+ 4
<body style="background-color:red;">
or by
<style>
body{
background-color:red;
}
</style>
+ 2
none of ur ans. gave me desired result
+ 2
i have already posted
+ 2
even now no ans.
+ 2
where shud i add "add"
+ 2
i have written the same thing
+ 2
thnx a ton buddy