Total Questions : 50
Expected Time : 50 Minutes

1. Which CSS pseudo-class is used to select elements when they are in a certain state, such as when a user hovers over them?

2. What is the default value of the 'display' property in CSS for most HTML elements?

3. Which CSS property is used to control the positioning of an element within its containing element?

4. Which CSS property is used to control the thickness of the border of an element?

5. What is the purpose of the CSS property 'text-align'?

6. Which CSS property is used to control the background color of an element?

7. In CSS, what is the 'box model'?

8. What is the purpose of the 'z-index' property in CSS?

9. What is the CSS box model used for?

10. Which CSS property is used to change the color of text?

11. What is the purpose of the 'text-align' property in CSS?

12. What is the purpose of CSS selectors?

13. What is the CSS property used to specify the color of an element's text?

14. What does the CSS property 'margin' control?

15. In CSS, how can you make an element not display on the webpage but still occupy space?

16. Which CSS property is used to control the spacing between lines of text within an element?

17. In CSS, what does the 'display' property value 'inline-block' do?

18. In CSS, what does the 'float' property control?

19. In CSS, what does the 'position' property value 'relative' do?

20. In CSS, what is the default value of the 'position' property?

21. Which CSS property is used to specify the space between the content and the border of an element?

22. What is the purpose of the CSS property 'opacity'?

23. Which CSS property is used to control the alignment of text within an element?

24. In CSS, how can you make an element transparent, allowing the background to show through?

25. Which CSS property is used to create rounded corners on an element's border?

26. What is the CSS property used to create a shadow effect for text or elements?

27. Which CSS property is used to specify the order of flexible items in a flex container?

28. In CSS, what is the purpose of the 'display' property with a value of 'inline-block'?

29. In CSS, what does the 'transition' property control?

30. In CSS, what property is used to control the order of elements on the z-axis (i.e., their stacking order)?

31. Which CSS property is used to set the font size of text?

32. What is the purpose of the CSS property 'background-color'?

33. What is the purpose of the CSS property 'font-size'?

34. What does the 'text-decoration' property in CSS control?

35. Which CSS property is used to create a gradient background for an element?

36. What does the 'overflow' property in CSS control?

37. Which CSS property is used to control the spacing between columns in a multi-column layout?

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

39. Which CSS property is used to add space between the border and content of an element?

40. What is the purpose of the CSS property 'display'?

41. What is the CSS property used to control the size of an element's font?

42. What is the purpose of the CSS property 'width'?

43. What is the purpose of the 'visibility' property in CSS?

44. What is the purpose of the CSS property 'z-index'?

45. Which CSS property is used to create a border around an element?

46. What does the 'margin' property in CSS control?

47. Which HTML tag is used to include CSS code within an HTML document?

48. What is the purpose of the 'box-sizing' property in CSS?

49. Which CSS property is used to control the spacing between words in text?

50. Which CSS property is used to make text bold?