How do you set background color using CSS?
Experience Level:
Junior
Tags:
CSS
Answer
div {
background-color: #207cca;
}
Related CSS job interview questions
-
What does the + (plus sign) CSS selector mean?
CSS Junior -
What are the biggest problems that make your web page look unprofessionally?
CSS Junior -
How do you position an element on the screen to the right or left?
CSS Junior -
How do you set font of the text for some element?
CSS Junior -
How do you set size of the text for some element?
CSS Junior