css-exam 0 votes, 0 avg 230 123456789101112131415 CSS Questions 1 / 15 1. What is the use of Pseudo-classes In CSS? A. To Match A Specified Element B. To select the active links C. Are used to select all the visited links D. Are used to define a special state of an element 2 / 15 2. 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. 3 / 15 3. 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. 4 / 15 4. 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 5 / 15 5. Which of the following is used for spread radius? A. blur B. spread C. color D. v-offset 6 / 15 6. In the example below, when will the color pink be applied to the anchor element? a:active{ color:pink; } A. The color of the link will display as pink after its been clicked or if the mouse is hovering over the link. B. The color of the link will display as pink on mouse hover. C. The color of the link will be display as pink while the link is being clicked but before the mouse click is released. D. The color of the link will display as pink before it has been clicked. 7 / 15 7. Which of the following will provide date pickers? A. jQuery UI B. Niceforms C. WebShim D. Bootstrap 8 / 15 8. Which of the following CSS property defines how an image or video fits into container with established height and width? A. object-fit B. object-contain C. object-cover D. position:fixed 9 / 15 9. What will be the output of the following CSS code snippet? span { border: 1px solid red; outline: green dotted thick; } A. All span elements will have a green thick border and a red outline B. All span elements will have a red border and a green dotted outline C. All span elements will have a outer green dotted border and an inner red border D. All span elements will have an outer red border and inner green dotted border 10 / 15 10. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 11 / 15 11. 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; 12 / 15 12. CSS is written in which language? A. PHP B. HTML C. JAVA D. Python 13 / 15 13. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 14 / 15 14. What scales the background image as large as possible? A. contain B. cover C. wrap D. resize 15 / 15 15. 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 Your score is The average score is 56% LinkedIn Facebook Twitter VKontakte 0% Restart quiz