css-exam 0 votes, 0 avg 561 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. What is the correct syntax for referring an external CSS? A. <link rel="stylesheet" type="text/css" href="style.css"/> B. <style rel="stylesheet" type="text/css" href="style.css"></style> C. <script rel="stylesheet" type="text/css" href="style.css"></script> D. none of the above 3 / 15 3. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. none of the above 4 / 15 4. 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 5 / 15 5. Which selector do we use to specify the rule for binding some particular unique element? A. Class B. id C. Tags D. both tags and class 6 / 15 6. 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. 7 / 15 7. 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 8 / 15 8. Which of the following properties will we use to display border around a cell without any content.? A. empty-cell B. blank-cell C. noncontent-cell D. void-cell 9 / 15 9. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 10 / 15 10. Which of the following is only for table elements? A. initial B. collapse C. hidden D. inherit 11 / 15 11. Which one can animate the width of search input when get focus? A. focus B. outline C. transition D. color 12 / 15 12. Which of these would give a block element rounded corners? A. corner-curve:10px; B. border-corner:10px C. border-radius:10px; D. corner-radius:10px; 13 / 15 13. 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() 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? A. System Color Names B. HSLa Color C. Commonly defined named colors D. Specificationdefined named colors 15 / 15 15. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin