CSS Quiz1

1. Which property is used to specify the background color of an element in CSS?

 
 
 
 

2. Which value of the background-repeat property is used to repeat the background image horizontally and vertically?

 
 
 
 

3. Which property is used to set the background color of an element in CSS?

 
 
 
 

4. Which value of the display property is used to remove an element from the page layout?

 
 
 
 

5. Which property is used to set the background image of an element in CSS?

 
 
 
 

6. Which selector is used to select elements with a specific class in CSS?

 
 
 
 

7. Which selector is used to select elements with a specific ID in CSS?

 
 
 
 

8. Which property is used to specify the font size of an element in CSS?

 
 
 
 

9. What is the use of CSS?

 
 
 
 

10. Which selector is used to select all elements on an HTML page?

 
 
 
 

Question 1 of 10

Scroll to Top