CSS Quiz2

1. Which property is used to set the padding of an element in CSS?

 
 
 
 

2. Which value of the padding property is used to set the padding for the left and right sides of an element?

 
 
 
 

3. Which value of the background-attachment property is used to make the background image scroll with the page?

 
 
 
 

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

 
 
 
 

5. Which CSS property is used to change the background color of an element?

 
 
 
 

6. Which property is used to specify the padding around each cell within a table in CSS?

 
 
 
 

7. Which value of the padding property is used to set the padding for the top and bottom sides of an element?

 
 
 
 

8. Which CSS property is used to change the font size of text?

 
 
 
 

9. Which property is used to set the position of the background image in CSS?

 
 
 
 

10. Which value of the padding property is used to set the padding for all four sides of an element?

 
 
 
 

Question 1 of 10

Scroll to Top