1. What does CSS stand for?
a) Creative Style Sheets
b) Computer Style Sheets
c) Cascading Style Sheets
d) Colorful Style Sheets
2. Which HTML tag is used to link an external CSS file?
a) <css>
b) <style>
c) <link>
d) <script>
3. Which property is used to change the background color?
a) color
b) bgcolor
c) background
d) background-color
4. How do you insert a comment in a CSS file?
a) // comment
b) /* comment */
c) <!– comment –>
d) # comment
5. Which property is used to change the text color of an element?
a) font-color
b) text-color
c) color
d) text-style
6. How do you select an element with id “header” in CSS?
a) #header
b) .header
c) header
d) *header
7. Which CSS property controls the text size?
a) font-style
b) text-size
c) font-size
d) text-style
8. How do you make a list not display bullets?
a) list: none;
b) bullet: 0;
c) list-style-type: none;
d) text-decoration: none;
9. Which property is used to make text bold?
a) font-weight
b) font-bold
c) bold-style
d) text-style
10. Which CSS property is used to add space inside an element’s border?
a) margin
b) spacing
c) padding
d) border-spacing
11. What does the z-index property in CSS control?
a) The zoom level of an element
b) The stacking order of elements
c) The size of an element
d) The horizontal alignment
12. Which property is used to float elements in CSS?
a) align
b) float
c) position
d) display
Sign in to your account