CSS Questions

0 votes, 0 avg
545

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

3. How do you comment in CSS file?

4 / 15

4. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left abd right?

5 / 15

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

6 / 15

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

7 / 15

7. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?

8 / 15

8. What will be the output of the following CSS code snippet? span {
border: 1px solid red;
outline: green dotted thick;
}

9 / 15

9. What is CSS?

10 / 15

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

11 / 15

11. If we want to show an Arrow as cursor, then which value we will use?

12 / 15

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

13 / 15

13. Three of these choices are tue about class selectors. Which is NOT true?

14 / 15

14.  Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?

15 / 15

15. Using an attribute selector, how would you select an a tag element with a ‘title’ attribute?

Your score is

The average score is 49%

0%

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