css-exam

0 votes, 0 avg
570

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

3.  Which of the following Media Query describe the ratio of the device width to the device height of the media?

4 / 15

4. What is the difference between the margin and padding properties?

5 / 15

5. Using an attribute selector, how would you select an a tag element with a 'title' attribute?

6 / 15

6. Which Of The Following Selector Selects An Element That Has No Children?

7 / 15

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

8 / 15

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

9 / 15

9.  Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

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 CSS property is used for controlling the layout?

12 / 15

12. Which of the following will provide date pickers?

13 / 15

13. When using position fixed, what will the element always be positioned relative to?

14 / 15

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

15 / 15

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

Your score is

The average score is 49%

0%

Scroll to Top