css-exam

0 votes, 0 avg
547

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

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

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

6 / 15

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

7 / 15

7. Which of the following CSS property is used to specify the space between every letter inside an element?

8 / 15

8. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left abd right?

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. Which one of these is NOT an appropriate value for the font-variant property?

11 / 15

11. Which of the following properties will we use to display border around a cell without any content.?

12 / 15

12. Which value specifies a transition effect with a slow start, then fast, then end slowly?

13 / 15

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

14 / 15

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

15 / 15

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

Your score is

The average score is 49%

0%

Scroll to Top