css-exam

0 votes, 0 avg
556

CSS Questions

1 / 15

1. What should be the table width, So that the width of the table adjust to the current width of the browser window?

2 / 15

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

3 / 15

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

4 / 15

4. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite?

5 / 15

5. Which of the following property of a anchor element signifies unvisited hyperlinks?

6 / 15

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

7 / 15

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

8 / 15

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

9 / 15

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

10 / 15

10. Which property specifies where the background image is positioned?

11 / 15

11. Which of the following selector in CSS is used to select the elements that do not match the selectors?

12 / 15

12. Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line?

13 / 15

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

14 / 15

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

15 / 15

15. Three of these choices are tue about class selectors. Which is NOT true?

Your score is

The average score is 49%

0%

Scroll to Top