css-exam 0 votes, 0 avg 560 123456789101112131415 CSS Questions 1 / 15 1. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 2 / 15 2. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet. A. audio/video B. sink C. @media D. @canvas 3 / 15 3. 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() 4 / 15 4. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 5 / 15 5. 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 --> 6 / 15 6. 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 7 / 15 7. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 8 / 15 8. Which of the following CSS property specifies the look and design of an outline? A. outline-style B. outline-format C. outline-font D. none of the mentioned 9 / 15 9. 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 10 / 15 10. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________ A. border-collapse B. cell-collapse C. cell-spacing D. border-spacing 11 / 15 11. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 12 / 15 12. 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() 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 statement about block and inline elements is true? A. By default, block elements are the same height and width as the content container between their tags; Inline elements span the entire width of its container. B. By default, block elements are span the entire width of its container; Inline elements are the same height and width as the content container between their tags; C. A nav tag element is an example of an inline element. Header tag is an example of a block element. D. A span tag is an example of a block element. Div tag is an example of an inline element. 15 / 15 15. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin