CSS Questions

0 votes, 0 avg
570

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

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

4 / 15

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

5 / 15

5. CSS is written in which language?

6 / 15

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

7 / 15

7. Which of the following Viewport Property determines whether the display can be zoomed in and out?

8 / 15

8. Which of the following CSS Property determines whether an animation should run in reverse on some cycles?

9 / 15

9. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack?

10 / 15

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

11 / 15

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

12 / 15

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

13 / 15

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

14 / 15

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

15 / 15

15. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..}

Your score is

The average score is 49%

0%

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

Scroll to Top