css-exam 0 votes, 0 avg 561 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 3 / 15 3. Which of the following CSS Property sets the stacking order of positioned elements? A. y-index B. z-index C. x-index D. none of the above 4 / 15 4. 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. 5 / 15 5. Which one is NOT the audio element’s attribute? A. check B. controls C. loop D. src 6 / 15 6. Three of these choices are tue about class selectors. Which is NOT true? A. Multiple classes can be used within the same element. B. The same class can be used multiple times per page. C. Class selectors with a leading period. D. Classes can be used multiple times per page but not within the same element. 7 / 15 7. 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. 8 / 15 8. Which of the following is used to specify the subscript of text using CSS? A. align: subscript B. vertical-align: subscript C. vertical-align: sub D. alignment:sub 9 / 15 9. Which of the following CSS property defines how an image or video fits into container with established height and width? A. object-fit B. object-contain C. object-cover D. position:fixed 10 / 15 10. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 11 / 15 11. If we don't want to allow a floating div to the left side of an element, which CSS property will we use? A. margin B. clear C. float D. padding 12 / 15 12. Which statement regarding icon fonts is true? A. Icon fonts can be inserted only using JavaScript. B. Icon fonts can be styled with typography-related properties such as font-size and color. C. Icon fonts are inserted as inline images. D. Icon fonts require browser extension. 13 / 15 13. 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 14 / 15 14. Which of the following will provide date pickers? A. jQuery UI B. Niceforms C. WebShim D. Bootstrap 15 / 15 15. What should be the table width, So that the width of the table adjust to the current width of the browser window? A. 640 pixels B. 100.00% C. full-screen D. 1024 px Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin