css-exam 0 votes, 0 avg 518 123456789101112131415 CSS Questions 1 / 15 1. Identify the outline property that specifies the amount of area extended beyond the border box. A. outset3d B. inset C. outset D. inset3d 2 / 15 2. 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 3 / 15 3. 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. 4 / 15 4. 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 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 is not value for the font-stretch(Font descriptor)? A. normal B. 50% C. expanded D. ultra-expanded 7 / 15 7. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 8 / 15 8. Which one of these is NOT an appropriate value for the font-variant property? A. small-caps B. large-caps C. default D. inherit 9 / 15 9. Which value specifies a transition effect with a slow start, then fast, then end slowly? A. ease B. linear C. ease-in D. ease-out 10 / 15 10. What is CSS? A. CSS is a style sheet language B. CSS is designed to separate the presentation and content, including layout, colors, and fonts C. CSS is the language used to style the HTML documents D. All of the mentioned 11 / 15 11. 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 12 / 15 12. 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 13 / 15 13. 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 display as pink after its been clicked or if the mouse is hovering over the link. B. The color of the link will display as pink on mouse hover. C. The color of the link will be display as pink while the link is being clicked but before the mouse click is released. D. The color of the link will display as pink before it has been clicked. 14 / 15 14. Which of the following CSS property is used to specify the space between every letter inside an element? A. character-spacing B. letterSpacing C. letter-spacing D. characterSpacing 15 / 15 15. 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{…} Your score isThe average score is 50% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin