234k views
1 vote
To change the background color of our Web page to red, which would be correct in the style section? a .body:red b .body {red} c .color:red d .body {background-color:red}

User Sean Lin
by
6.7k points

1 Answer

0 votes
You want to set the background-color element. The selector is the "body" tag. Take care not to precede it with a dot, because that changes it into a classname. So the dots in your options shouldn't be there IMO.
User Irishka
by
5.3k points