• Register
0 votes
27 views

Problem:

I am new in programming and my syntax is not good, can anyone provide the right query to find?
Select the code below that uses CSS to configure a background color of #eaeaea for a web page.
a. body { background-color:#eaeaea}
b. document {background-page:#eaeaea}
c. body {bgcolor:#eaeaea}
d. None of the Above
7 5 3
5,380 points

1 Answer

0 votes

Solution:

Correct code in CSS is 

 

body { background-color:#eaeaea}

 

to configure a background color of #eaeaea for a web page.

 

This will help you in CSS code for any web page. 

7 4 2
10,530 points

Related questions

0 votes
0 answers 4 views
4 views
Problem: From the choices below select the correct order to code CSS pseudo-classes? Select one: a. link, hover, visited, active b. hover, link, active, visited c. link, visited, hover, active d. link, hover, active, visited
asked Jul 22 sstones 830 points
0 votes
1 answer 82 views
82 views
Problem: I am new and learning, I need help, can anyone help by filling in the blanks? When CSS is coded in the body of the web page as an attribute of an HTML tag it is called _____?
asked Feb 21 maddi86 5.4k points
0 votes
2 answers 143 views
143 views
Problem: I am new, I need help, can anyone help by filling in the blanks? Use the CSS ______ property to configure the cellpadding of a table. Question options: padding margin cell padding border-spacing
asked Feb 20 maddi86 5.4k points
1 vote
1 answer 7 views
7 views
I am trying set the background color of the navbar, however the color doesn't seem to extend to the child container. What am I missing? I am using a display flexbox so I can evenly distribute the content of the navbar. I think it has something to do with the Flex property, but I couldn't ... <li><a href="#logout">Logout</a></li> </ul> </nav> </header> <script src="js/scripts.js"></script> </body>
asked Sep 13 Marivoke 530 points
1 vote
1 answer 4 views
4 views
How I can put in the same div in the background two images with css? <div class="testimonial carousel-item active"> <img class="img-testimonial" src="assets/image-tanya.jpg" alt=""> <div class="text-testimonial"> <p>"I've been interested in coding for ... .svg); background-repeat: no-repeat; background-position: right top; width: 1000px; height: 800px; position: relative; display: inline-block; }
asked Sep 13 Marivoke 530 points