css-exam 0 votes, 0 avg 556 123456789101112131415 CSS Questions 1 / 15 1. What is the way to specify media dependencies for style sheets ? A. Specify the target medium from a style sheet with the @media or @import at-rules B. Specify the target medium within the document language C. both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document language D. none of the mentioned 2 / 15 2. Which of the following CSS Property determines whether an animation should run in reverse on some cycles? A. animation B. animation-run C. animation-repeat D. none of the above 3 / 15 3. 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 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 of the following selector selects the element that is the first child of its parent that is of its type? A. ::first-letter B. ::first-line C. :last-child D. :first-of-type 6 / 15 6. Which of the following selector matches the name of any element type? A. The Type Selector B. The Universal Selector C. The Descedant Selector D. The Class Selector 7 / 15 7. 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 8 / 15 8. 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. 9 / 15 9. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite? A. grid B. monochrome C. resolution D. orientation 10 / 15 10. If a particular should never be overridden by another rule, the _______ indication should be used. A. !important! B. important! C. !important D. ?important 11 / 15 11. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset 12 / 15 12. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 13 / 15 13. 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. 14 / 15 14. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 15 / 15 15. Which of the following property controls the horizontal overflow of a block or inline block? A. overflow-x B. overflow C. overflow-y D. overflow-k Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin