css-exam 0 votes, 0 avg 547 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. Which of the following media feature describes the number of entries in the color lookup table of the output device A. color B. color-index C. color-value D. color-@media 3 / 15 3. 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 4 / 15 4. How do you comment in CSS file? A. //this is a coment// B. /* this is a comment */ C. //this is a comment D. <!-- this is a comment --> 5 / 15 5. 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 6 / 15 6. Which of the following Media Query describe the ratio of the device width to the device height of the media? A. device-aspect B. device-aspect-ratio C. device-aspect-query D. none of the above 7 / 15 7. 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 be display as pink while the link is being clicked but before the mouse click is released. B. The color of the link will display as pink before it has been clicked. C. The color of the link will display as pink after its been clicked or if the mouse is hovering over the link. D. The color of the link will display as pink on mouse hover. 8 / 15 8. There are many properties that can be used to align elements and create page layouts such as float,postion,flexbox and grid. Out of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page? A. position B. flexbox C. grid D. float 9 / 15 9. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content? A. background-scroll B. background-attach C. background-attachment D. background-allowance 10 / 15 10. 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 11 / 15 11. 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 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. What is the difference between the margin and padding properties? A. Margin adds space around and inside of an element; Padding adds space only inside on an element. B. Margin adds space around an element; Padding adds space inside of an element. C. Margin adds a line around element; Padding adds space inside of an element. D. Margin adds space inside of an element; Padding adds space around an element. 14 / 15 14. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 15 / 15 15. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..} A. The rule will apply to a device that has a width of 1024px or narrower and is a screen device in landscape mode. B. The rule will apply to a device that has a width of 1024px or wider and is a screen device in landscape mode. C. The rule will apply to a device that has width of 1024px or narrower. Or is a screen device in landscape mode. D. The rule will apply to a device that has either a width of 1024px or wider, or is a screen device in landscape mode. Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin