CSS Questions

0 votes, 0 avg
545

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

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

4 / 15

4. The default value of “position” attribute is___________

5 / 15

5. 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?

6 / 15

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

7 / 15

7. Which of the following property controls the horizontal overflow of a block or inline block?

8 / 15

8. 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?

9 / 15

9.  Which of the following will display a speech bubble pop-up?

10 / 15

10. What scales the background image as large as possible?

11 / 15

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

12 / 15

12. Which of the following selector selects an element if it’s the only child of its parent?

13 / 15

13. When using flexbox, the ‘justify-content’ property can be used to distribute the space between the flex items along the main axis. Which value should be used to evenly distribute the flex items within the container shown below.

14 / 15

14. Which of the following media feature describes the number of entries in the color lookup table of the output device

15 / 15

15. What type of CSS is generally recommended for designing large web pages?

Your score is

The average score is 49%

0%

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