CSS Questions

0 votes, 0 avg
571

CSS Questions

1 / 15

1. What will be the output of the following CSS code snippet? span {
border: 1px solid red;
outline: green dotted thick;
}

2 / 15

2. What is the way to specify media dependencies for style sheets ?

3 / 15

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

4 / 15

4. CSS is written in which language?

5 / 15

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

6 / 15

6. The default value of “position” attrubute is?

7 / 15

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

8 / 15

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

9 / 15

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

10 / 15

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

11 / 15

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

12 / 15

12. Which one is NOT the audio element’s attribute?

13 / 15

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

14 / 15

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

15 / 15

15. Which of the following property will be used to display border around a cell without any content?

Your score is

The average score is 49%

0%

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

Scroll to Top