CSS Questions

0 votes, 0 avg
560

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

3. How would you make the first letter of every paragraph on the page red?

4 / 15

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

5 / 15

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

6 / 15

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

7 / 15

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

8 / 15

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

9 / 15

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

10 / 15

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

11 / 15

11. Which of the following function adjusts the difference between light and dark values, for use by the filter property?

12 / 15

12. Which of the following property controls the horizontal overflow of a block or inline block?

13 / 15

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

14 / 15

14. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?

15 / 15

15. Which of the following is only for table elements?

Your score is

The average score is 49%

0%

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

Scroll to Top