css-exam 0 votes, 0 avg 551 123456789101112131415 CSS Questions 1 / 15 1. What is the role of pseudo-class in CSS A. Match a specified element B. 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. 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; 3 / 15 3. 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; 4 / 15 4. 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 5 / 15 5. From the choices given below, select the correct oredr to code css pseudo-classes. A. link,visited,hover,active B. hover,link,active,visited C. link,hover,visited,active D. link,hover,active,visited 6 / 15 6. 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 7 / 15 7. 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 8 / 15 8. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 9 / 15 9. Which of the following selector selects all element of E that have the attribute attr that end with the given value? A. E[attr^=value] B. E[attr$=value] C. E[attr*=value] D. E[attr&=value] 10 / 15 10. 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 11 / 15 11. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 12 / 15 12. 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 13 / 15 13. What type of CSS is generally recommended for designing large web pages? A. Inline B. Internal C. External D. none of the above 14 / 15 14. Which one is NOT the audio element’s attribute? A. check B. controls C. loop D. src 15 / 15 15. Which of the following function adjusts the difference between light and dark values, for use by the filter property? A. contrast() B. dark() C. saturation() D. brightness() Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin