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