CSS Questions

0 votes, 0 avg
557

CSS Questions

1 / 15

1. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.

2 / 15

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

3 / 15

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

4 / 15

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

5 / 15

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

6 / 15

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

7 / 15

7. If a particular should never be overridden by another rule, the _______ indication should be used.

8 / 15

8. There are many properties that can be used to align elements and create page layouts such as float,postion,flexbox and grid. Out of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page?

9 / 15

9. CSS is written in which language?

10 / 15

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

11 / 15

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

12 / 15

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

13 / 15

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

14 / 15

14.  Which of the following property sets list-style-type, list-style-position, and liststyle-image?

15 / 15

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

Your score is

The average score is 49%

0%

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

Scroll to Top