CSS Language Online Quiz

1. Which of the following is a component of CSS style rule?
 
 
 
 

2. Which of the following property specifies the bottom padding of an element?
 
 
 
 

3. Block elements can be aligned by setting the left and right margins to “align”?
 
 

4. Which of the following property is used to set the background color of an element?
 
 
 
 

5. What is CSS Float?
 
 
 
 

6. To specify table border in CSS, ____________ property is  used?
 
 
 
 

7. The _________ property is mostly used to remove underline from links?
 
 
 
 

8. Which of the following statements is/are true?
 
 
 
 

9. Which of the following property is used to add or subtract space between the words of a sentence?
 
 
 
 

10. The font-size value can be an absolute, or relative size?
 
 

11. _________ property can be used to Increase or decrease the space between words?
 
 
 
 

12. Which of the following statements is TRUE for CSS?
 
 
 
 

13. Which of the following property of a table element controls the placement of the table caption?
 
 
 
 

14. The ___________ property specifies the stack order of an element?
 
 
 
 

15. Which of the following ways below is correct to write a CSS?
 
 
 
 

16. Which of the below is the correct way to set a background image?
 
 
 
 

17. Which of the following property changes the style of bottom border?
 
 
 
 

18. Which of the following property is used to set the opacity of an image?
 
 
 
 

19. A navigation bar needs standard HTML as a base?
 
 

20. The ____________ selector is used to specify a style for a single, unique element?
 
 
 
 

21. Which of the following defines 1% of viewport height?
 
 
 
 

22. Which of the following property specifies the top margin of an element?
 
 
 
 

23. The ____________ property specifies which sides of an element other floating elements are not allowed?
 
 
 
 

24. Which of the below is the correct way to set a font size?
 
 
 
 

25. Which of the following selector selects all paragraph elements whose lang attribute contains values that are exactly “fr”, or begin with “fr-“?
 
 
 
 

 

(Visited 35 times, 1 visits today)

Comments

comments

Leave a Reply