css-exam 0 votes, 0 avg 571 123456789101112131415 CSS Questions 1 / 15 1. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. none of the above 2 / 15 2. Which of the following selector selects an element if it’s the only child of its parent? A. :nth-oftype(n) B. :only-child C. :root D. :single-child 3 / 15 3. 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 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. 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? A. padding:10px 10px 0px 0px; B. padding:10px 0px ; C. padding:10px 0; D. padding:10px 0px 10px 0px; 6 / 15 6. Which one is NOT the audio element’s attribute? A. check B. controls C. loop D. src 7 / 15 7. Three of these choices are tue about class selectors. Which is NOT true? A. Multiple classes can be used within the same element. B. The same class can be used multiple times per page. C. Class selectors with a leading period. D. Classes can be used multiple times per page but not within the same element. 8 / 15 8. What type of CSS is generally recommended for designing large web pages? A. Inline B. Internal C. External D. none of the above 9 / 15 9. Which of the following will display a speech bubble pop-up? A. pop-up question form B. cartoon pop-up C. modal animation physics D. overlay pop-up 10 / 15 10. Which of the following Viewport Property determines whether the display can be zoomed in and out? A. scale B. set-scale C. adjust-scale D. user-scalable 11 / 15 11. Which of the following CSS property is used to specify the space between every letter inside an element? A. character-spacing B. letterSpacing C. letter-spacing D. characterSpacing 12 / 15 12. Which of the following selector in CSS is used to select the elements that do not match the selectors? A. :not selector B. :empty selector C. :! Selector D. none of the above 13 / 15 13. What scales the background image as large as possible? A. contain B. cover C. wrap D. resize 14 / 15 14. IF we want to wrap a block of text around an image, which css property will we use? A. wrap B. push C. float D. align 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin