0

What is the syntax for back ground colour

I need answers

21st Sep 2020, 7:14 AM
Annie
5 Respostas
+ 6
<!DOCTYPE html> <html>    <head>       <title>HTML Backgorund Color</title>    </head>    <body style="background-color:grey;">      </body> </html>
21st Sep 2020, 7:17 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 5
Hello Coder! ℹ️ Before posting a question here, please check the links at here: https://code.sololearn.com/WZ8lkR6gTex6/?ref=app ‼️Also, i would like to tell you that the Q&A section is powered for to the programming related questions; and in some special cases for SoloLearn-related questions (also). ℹ️ So you can ask a SoloLearn-related question, but then please read this: "Posts may also focus on improving aspects of the platform and providing the community with improved content, whenever applicable." ℹ️ In normal cases (programming-related questions). If you bring for example a part of a code, where you have a problem, and you would need help, then here would be people to help you. 😉 Thank you for your understanding! 👍 Keep coding and enjoy!😉✌️
21st Sep 2020, 7:42 AM
Donthack
Donthack - avatar
+ 5
Anyway, add this to your css: body {background-color: black;} - body: call the html tag - {...} : you need to write the choosen style here - background-color : you can use this for give a color to the background - you can add colors: >by name like 'black' >by rgb/rgba numbers like 'rgb(255,60,92)' >by number like '#558329'
21st Sep 2020, 7:49 AM
Donthack
Donthack - avatar
+ 4
My tip for you: start to learn some courses like html, css.. The basics are so useful for the days. But if you have a simple question like this, then please TRY to SEARCH FOR it FIRST. 😉 Searching is very important and with it, you can help the work of the SoloLearn Moderators. 😃👍 //also, Google is your friend too 😉
21st Sep 2020, 7:55 AM
Donthack
Donthack - avatar
+ 2
Enter this in CSS Body{ Background-color:blue; }
21st Sep 2020, 12:17 PM
Atoms~⚛
Atoms~⚛ - avatar