CSS Questions

0 votes, 0 avg
570

CSS Questions

1 / 15

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

2 / 15

2. From the choices given below, select the correct oredr to code css pseudo-classes.

3 / 15

3.  Which variable defines the data type of the content in CSS?

4 / 15

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

5 / 15

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

6 / 15

6. Which of the following is used to specify the subscript of text using CSS?

7 / 15

7. The CSS property that is equivalent to the align attribute is:

8 / 15

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

9 / 15

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

10 / 15

10. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________

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. When adding transparency styles, what is the difference between using the opacity property versus the background property with rgba() value?

13 / 15

13. What changes the shadow from an outer shadow?

14 / 15

14. In the below code snippet, in what order will the margins be added? p {
margin: 25px 50px 75px 100px;
}

15 / 15

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

Your score is

The average score is 49%

0%

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

Scroll to Top