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