GoogleTag

Google Search

CSS MCQ Quiz

Correct Answers: 0
Incorrect Answers: 0

1. What does CSS stand for?

2. Which of the following is the correct syntax to link an external CSS file?

3. Which CSS property is used to change the text color of an element?

4. How do you select an element with the id 'header' in CSS?

5. Which property is used to control the spacing between lines of text?

6. What is the default value of the 'position' property?

7. Which of the following units is not relative?

8. Which CSS property is used to create space around elements, outside of any defined borders?

9. How do you make a list that lists its items with squares?

10. Which of the following is used to create a flex container in CSS?

11. Which CSS function is used to apply a linear gradient background?

12. How can you make an element invisible but still occupy space in the layout?

13. Which property is used to change the z-axis stacking order of elements?

14. Which pseudo-class is used to style an element that is being clicked?

15. What will 'flex: 1' do when applied to a flex item?

16. How do you select all elements of type 'div' that are the first child of their parent in CSS?

17. Which CSS property is used to apply a 3D transformation on an element?

18. Which CSS method can be used to import another stylesheet?

19. Which CSS property controls the order of items in a flex container?

20. Which CSS grid property specifies the number of columns in a grid layout?

21. What CSS property is used to change the font of an element?

Featured Posts

SQL Interview Questions Topics

 SQL Topics to prepare for interviews,   SQL Basics: Introduction to SQL SQL Data Types DDL (Data Definition Language): C...

Popular Posts