CSS : Properties & Value
/20
0
:
0
Submit
Total 20 question (100 marks)
1. Which property is used to change the font of an element?
2. Which of the following defines a measurement in inches?
3. How do you add a background color for all <h1> elements?
4. How to set background image for a div tag?
5. Which property is used to change the background color?
6. What is the property used to set the class’s text color?
7. Which CSS property controls the text size?
8. What is the correct CSS syntax for making all the <p> elements bold?
9. Which CSS property is used to change the text color of an element?
10. Which of the following value of cursor shows it as an arrow?
11. How do you make the text bold?
12. How do you select all p elements inside a div element?
13. If you wanted to put an HTML element at a certain position on the page regardless of the
14. How do you select elements with class name 'test'?
15. Some HTML elements have multiple states, like the link, how do you give it a particular style when
16. How do you group selectors?
17. How do you select an element with id 'heading'?
18. How do you display hyperlinks without an underline?
19. How would you style table rows to have alternating background colors?
20. How do you make each word in a text start with a capital letter?
Next
Previous