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