CSS Questions

0 votes, 0 avg
570

CSS Questions

1 / 15

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

2 / 15

2.  Which of the following selector matches the name of any element type?

3 / 15

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

4 / 15

4. CSS is written in which language?

5 / 15

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

6 / 15

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

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

9 / 15

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

10 / 15

10. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack?

11 / 15

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

12 / 15

12. The default value of “position” attribute is___________

13 / 15

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

14 / 15

14. Which of the following is used to specify the subscript of text using CSS?

15 / 15

15. Using an attribute selector, how would you select an a tag element with a ‘title’ attribute?

Your score is

The average score is 49%

0%

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

Scroll to Top