css-exam 0 votes, 0 avg 547 123456789101112131415 CSS Questions 1 / 15 1. Which Of The Following Selector Selects An Element That Has No Children? A. :nochild B. :empty C. :inheritance D. :no-child 2 / 15 2. Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element? A. float B. float-left C. float-right D. float-align 3 / 15 3. 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 4 / 15 4. 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 5 / 15 5. 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 6 / 15 6. 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 7 / 15 7. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 8 / 15 8. 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-fill-mode D. animation-play-state 9 / 15 9. Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element? A. animation B. animation-name C. animation-element D. none of the above 10 / 15 10. Which of the following is not a browser-specific versions of linear-gradient()? A. -moz-linear-gradient() B. -o-linear-gradient() C. -mac-linear-gradient() D. -webkit-linear-gradient() 11 / 15 11. 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; 12 / 15 12. Which of the following property of a anchor element signifies unvisited hyperlinks? A. :link B. :visited C. :hover D. :active 13 / 15 13. Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration? A. border-collapse B. border-width C. padding D. border 14 / 15 14. Which one of these is NOT an appropriate value for the font-variant property? A. small-caps B. large-caps C. default D. inherit 15 / 15 15. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin