CSS Questions

0 votes, 0 avg
576

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

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

4 / 15

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

5 / 15

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

6 / 15

6. Which statement about block and inline elements is true?

7 / 15

7. Which of the following property of a table element specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style?

8 / 15

8. If we don’t want to allow a floating div to the left side of an element, which CSS property will we use?

9 / 15

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

10 / 15

10. Which model includes margin, border, padding, and content?

11 / 15

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

12 / 15

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

13 / 15

13. Three of these choices are tue about class selectors. Which is NOT true?

14 / 15

14. Which of the following property will be used to display border around a cell without any content?

15 / 15

15. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite?

Your score is

The average score is 48%

0%

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

Scroll to Top