CSS Questions

0 votes, 0 avg
576

CSS Questions

1 / 15

1. Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line?

2 / 15

2. Which Of The Following Selector Selects An Element That Has No Children?

3 / 15

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

4 / 15

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

5 / 15

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

6 / 15

6. What is the correct syntax for referring an external CSS?

7 / 15

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

8 / 15

8. What is the way to specify media dependencies for style sheets ?

9 / 15

9. Which statement regarding icon fonts is true?

10 / 15

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

11 / 15

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

12 / 15

12. How do you comment in CSS file?

13 / 15

13. The default value of “position” attrubute is?

14 / 15

14. Identify the outline property that specifies the amount of area extended beyond the border box.

15 / 15

15. What is the difference between the margin and padding properties?

Your score is

The average score is 48%

0%

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

Scroll to Top