CSS Questions

0 votes, 0 avg
556

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

3. When we write < img src="img.png" > , what “img.png” inside double quote implies?

4 / 15

4. Which of the following Viewport Property determines whether the display can be zoomed in and out?

5 / 15

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

6 / 15

6. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.

7 / 15

7. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack?

8 / 15

8.  Which of the following selector matches the name of any element type?

9 / 15

9. In the example below, when will the color pink be applied to the anchor element? a:active{ color:pink; }

10 / 15

10. The default value of “position” attribute is___________

11 / 15

11. Which statement regarding icon fonts is true?

12 / 15

12. Which model includes margin, border, padding, and content?

13 / 15

13.  Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

14 / 15

14. Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends?

15 / 15

15. What changes the shadow from an outer shadow?

Your score is

The average score is 49%

0%

Written by Shubhranshu Shekhar, who has trained 20000+ students in coding.

Scroll to Top