css-exam

0 votes, 0 avg
548

CSS Questions

1 / 15

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

2 / 15

2. How do you comment in CSS file?

3 / 15

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

4 / 15

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

5 / 15

5. CSS is written in which language?

6 / 15

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

7 / 15

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

8 / 15

8.  Which variable defines the data type of the content in CSS?

9 / 15

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

10 / 15

10. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack?

11 / 15

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

12 / 15

12. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter?

13 / 15

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

14 / 15

14. Which of the following is not a browser-specific versions of linear-gradient()?

15 / 15

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

Your score is

The average score is 49%

0%

Scroll to Top