CSS Questions

0 votes, 0 avg
570

CSS Questions

1 / 15

1. Which of the following will insert generated content in the counter?

2 / 15

2. Using an attribute selector, how would you select an a tag element with a ‘title’ attribute?

3 / 15

3. What will be the output of the following CSS code snippet? span {
border: 1px solid red;
outline: green dotted thick;
}

4 / 15

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

5 / 15

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

6 / 15

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

7 / 15

7. What changes the shadow from an outer shadow?

8 / 15

8. Which of these would give a block element rounded corners?

9 / 15

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

10 / 15

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

11 / 15

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

12 / 15

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

13 / 15

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

14 / 15

14. Which of the following Property controls the display of small caps?

15 / 15

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

Your score is

The average score is 49%

0%

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

Scroll to Top