CSS Questions

0 votes, 0 avg
547

CSS Questions

1 / 15

1. How do you comment in CSS file?

2 / 15

2. Which selector do we use to specify the rule for binding some particular unique element?

3 / 15

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

4 / 15

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

5 / 15

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

6 / 15

6. What should be the table width, So that the width of the table adjust to the current width of the browser window?

7 / 15

7. Which of the following is used to specify the subscript of text using CSS?

8 / 15

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

9 / 15

9. When using flexbox, the ‘justify-content’ property can be used to distribute the space between the flex items along the main axis. Which value should be used to evenly distribute the flex items within the container shown below.

10 / 15

10. Which of the following media feature describes the number of entries in the color lookup table of the output device

11 / 15

11. Which of the following is not value for the font-stretch(Font descriptor)?

12 / 15

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

13 / 15

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

14 / 15

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

15 / 15

15. In the example below, when will the color pink be applied to the anchor element? a:active{ color:pink; }

Your score is

The average score is 49%

0%

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