CSS Questions

0 votes, 0 avg
547

CSS Questions

1 / 15

1. Which of the following CSS3 property specifies the sequential navigation order for an element?

2 / 15

2. The default value of “position” attribute is___________

3 / 15

3.  Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

4 / 15

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

5 / 15

5. Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element?

6 / 15

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

7 / 15

7. IF we want to wrap a block of text around an image, which css property will we use?

8 / 15

8. Which property specifies where the background image is positioned?

9 / 15

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

10 / 15

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

11 / 15

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

12 / 15

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

13 / 15

13. How do you comment in CSS file?

14 / 15

14. Which one is NOT the audio element’s attribute?

15 / 15

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

Your score is

The average score is 49%

0%

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