css-exam 0 votes, 0 avg 543 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. 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 3 / 15 3. What is the correct syntax for referring an external CSS? A. <link rel="stylesheet" type="text/css" href="style.css"/> B. <style rel="stylesheet" type="text/css" href="style.css"></style> C. <script rel="stylesheet" type="text/css" href="style.css"></script> D. none of the above 4 / 15 4. Using an attribute selector, how would you select an a tag element with a 'title' attribute? A. a[title]{...} B. a>title{…} C. a.title{…} D. a=title{…} 5 / 15 5. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 6 / 15 6. 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 7 / 15 7. Which of the following is used for spread radius? A. blur B. spread C. color D. v-offset 8 / 15 8. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 9 / 15 9. 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 10 / 15 10. 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 11 / 15 11. 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 12 / 15 12. 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. 13 / 15 13. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset 14 / 15 14. Which model includes margin, border, padding, and content? A. CSS3 Grid Layout model B. CSS3 Flexbox Box model C. CSS Box model D. CSS Grid Template Layout Module 15 / 15 15. Which Of The Following Selector Selects An Element That Has No Children? A. :nochild B. :empty C. :inheritance D. :no-child Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin