css-exam

0 votes, 0 avg
571

CSS Questions

1 / 15

1. Which of the following CSS property defines how an image or video fits into container with established height and width?

2 / 15

2. Which of the following CSS selectors are used to specify a group of elements?

3 / 15

3. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite?

4 / 15

4. How do you comment in CSS file?

5 / 15

5.  Which of the following Media Query describe the ratio of the device width to the device height of the media?

6 / 15

6. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;}

7 / 15

7. Which of the following properties will we use to display border around a cell without any content.?

8 / 15

8. What is the role of pseudo-class in CSS

9 / 15

9. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter?

10 / 15

10. Which property specifies where the background image is positioned?

11 / 15

11. What is the use of Pseudo-classes In CSS?

12 / 15

12. What is the difference between display:none and visibillity:hidden?

13 / 15

13. Which of the following selector in CSS is used to select the elements that do not match the selectors?

14 / 15

14. Which CSS property is used for controlling the layout?

15 / 15

15. Which of the following attributes is used to specify elements to bind style rules to?

Your score is

The average score is 49%

0%

Scroll to Top