How do you change the background colour on web language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you change the background colour on web language

Please

19th Jul 2018, 9:05 AM
Johnnie
4 Answers
+ 6
For coloring the entire page you can put in your code : <style> body { background-color:blue; } </style>
19th Jul 2018, 2:24 PM
andrebtw
andrebtw - avatar
+ 4
I am not clear with your questions But if this helps https://code.sololearn.com/WMnuFHusL12k/?ref=app
19th Jul 2018, 9:20 AM
Meet Mehta
Meet Mehta - avatar
+ 2
Use the CSS background-color property. Read the lesson for more info https://www.sololearn.com/learn/CSS/1103/
19th Jul 2018, 9:20 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 2
/*in CSS*/ .your_div{ background-color: red; } /*in HTML*/ <div style="background-color: red;"></div>
19th Jul 2018, 9:52 AM
Yuri Biasi
Yuri Biasi - avatar