CSS Questions March 14, 2023 | No Comments 0 votes, 0 avg 543 123456789101112131415 CSS Questions 1 / 15 1. 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? A. :border-collapse B. :border-spacing C. :caption-side D. :empty-cells 2 / 15 2. Which of the following attributes is used to specify elements to bind style rules to? A. Id B. Class C. Tag D. all of the above 3 / 15 3. 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? A. animation-play B. animation-delay C. animation-play-state D. animation-fill-mode 4 / 15 4. 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? A. d-index B. s-index C. x-index D. z-index 5 / 15 5. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..} A. The rule will apply to a device that has a width of 1024px or narrower and is a screen device in landscape mode. B. The rule will apply to a device that has a width of 1024px or wider and is a screen device in landscape mode. C. The rule will apply to a device that has width of 1024px or narrower. Or is a screen device in landscape mode. D. The rule will apply to a device that has either a width of 1024px or wider, or is a screen device in landscape mode. 6 / 15 6. Which one of these is NOT an appropriate value for the font-variant property? A. small-caps B. large-caps C. default D. inherit 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? A. grid B. monochrome C. resolution D. orientation 8 / 15 8. Which statement regarding icon fonts is true? A. Icon fonts can be inserted only using JavaScript. B. Icon fonts can be styled with typography-related properties such as font-size and color. C. Icon fonts are inserted as inline images. D. Icon fonts require browser extension. 9 / 15 9. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;} A. color: red, text-decoration: underline works B. only font-style: italic works C. color: red, text-decoration: underline and font-style: italic all works D. text-decoration: underline and font-style: italic works 10 / 15 10. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 11 / 15 11. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet. A. audio/video B. sink C. @media D. @canvas 12 / 15 12. Which value specifies a transition effect with a slow start, then fast, then end slowly? A. ease B. linear C. ease-in D. ease-out 13 / 15 13. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 14 / 15 14. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________ A. border-collapse B. cell-collapse C. cell-spacing D. border-spacing 15 / 15 15. When we write < img src="img.png" > , what “img.png” inside double quote implies? A. element B. attribute C. value D. operator Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By WordPress Quiz plugin Questions, Quiz