CSS Questions

0 votes, 0 avg
551

CSS Questions

1 / 15

1. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;}

2 / 15

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

3 / 15

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

4 / 15

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

5 / 15

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

6 / 15

6. Which Event Will Be Used When A Connection To The Server Is Opened.

7 / 15

7.  Which of the following will display a speech bubble pop-up?

8 / 15

8. Which of the following is the correct syntax to display the hyperlinks without any underline?

9 / 15

9. IF we want to wrap a block of text around an image, which css property will we use?

10 / 15

10. Which of the following media feature describes the number of entries in the color lookup table of the output device

11 / 15

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

12 / 15

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

13 / 15

13. What scales the background image as large as possible?

14 / 15

14. Which of the following CSS Property sets the stacking order of positioned elements?

15 / 15

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

Your score is

The average score is 49%

0%

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

Scroll to Top