How to make background color without using <canvas id>

Viewed 22

I am a beginner at HTML, and CSS, and I am making a website using HTML. When I look at my site, the background is default white, and when I use #canvas { background-color:black; } in CSS, it does not work, so how do you change the background color without using that method. I would really appreciate any answer that is given, Thank You.

1 Answers

Its simple as declaring the body tag in css like this

body            
{
    margin:auto;
    width:1024px;
    padding:10px;
    background-color:#ebebeb;
    font-size:14px;
    font-family:Verdana;
}
Related