CSS MCQ Test: CSS MCQs - Practice Questions
1. Which CSS property is used to create rounded corners on an element's border?
2. In CSS, what does the 'float' property control?
3. Which CSS property is used to specify the order of flexible items in a flex container?
4. What does the 'overflow' property in CSS control?
5. What does the 'margin' property in CSS control?
6. In CSS, what is the purpose of the 'display' property with a value of 'inline-block'?
7. Which CSS property is used to control the order of elements in a flex container?
8. Which HTML tag is used to include CSS code within an HTML document?
9. What is the default value of the 'display' property in CSS for most HTML elements?
10. Which CSS property is used to set the font size of text?
11. What is the purpose of the CSS property 'font-size'?
12. Which CSS property is used to control the spacing between columns in a multi-column layout?
13. What does the 'text-decoration' property in CSS control?
14. Which CSS property is used to control the spacing between words in text?
15. What is the purpose of the CSS property 'display'?
16. In CSS, what does the 'display' property value 'inline-block' do?
17. Which CSS property is used to add space between the border and content of an element?
18. In CSS, what does the 'flex-direction' property control?
19. Which CSS property is used to change the color of text?
20. Which CSS property is used to control the visibility of an element?
21. In CSS, what is the purpose of the 'flexbox' layout model?
22. What is the purpose of the CSS property 'border-radius'?
23. What is the CSS property used to control the size of an element's font?
24. What is the CSS property used to control the size of an element relative to its parent container?
25. In CSS, what is the default value of the 'position' property?
26. Which CSS property is used to control the spacing between lines of text within an element?
27. In CSS, what is the 'box model'?
28. What is the CSS box model used for?
29. Which CSS property is used to control the alignment of text within an element?
30. Which CSS property is used to control the color of text in an element?