CSS Questions

0 votes, 0 avg
557

CSS Questions

1 / 15

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

2 / 15

2. Which of the following selector selects the element that is the first child of its parent that is of its type?

3 / 15

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

4 / 15

4. When adding transparency styles, what is the difference between using the opacity property versus the background property with rgba() value?

5 / 15

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

6 / 15

6. Which of the following is not value for the font-stretch(Font descriptor)?

7 / 15

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

8 / 15

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

9 / 15

9. Which of the following CSS Property sets the stacking order of positioned elements?

10 / 15

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

11 / 15

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

12 / 15

12. Which of the following is only for table elements?

13 / 15

13. Which one can animate the width of search input when get focus?

14 / 15

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

15 / 15

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

Your score is

The average score is 49%

0%

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

Scroll to Top