css-exam

0 votes, 0 avg
550

CSS Questions

1 / 15

1. Which of the following CSS property defines how an image or video fits into container with established height and width?

2 / 15

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

3 / 15

3. Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?

4 / 15

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

5 / 15

5. What is the correct syntax for referring an external CSS?

6 / 15

6. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________

7 / 15

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

8 / 15

8. When adding transparency styles, what is the difference between using the opacity property versus the background property with rgba() value?

9 / 15

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

10 / 15

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

11 / 15

11.  Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?

12 / 15

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

13 / 15

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

14 / 15

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

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%

Scroll to Top