css-exam 0 votes, 0 avg 547 123456789101112131415 CSS Questions 1 / 15 1. What type of CSS is generally recommended for designing large web pages? A. Inline B. Internal C. External D. none of the above 2 / 15 2. Which of these would give a block element rounded corners? A. corner-curve:10px; B. border-corner:10px C. border-radius:10px; D. corner-radius:10px; 3 / 15 3. 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 4 / 15 4. Choose the option that correctly specifies the output of the following CSS. span { border: 1px solid red; outline: green dotted thick; } A. All span elements will have a red border and a green dotted outline B. All span elements will have a green thick border and a red outline C. All span elements will have an outer red border and inner green dotted border D. All span elements will have a outer green dotted border and an inner red border 5 / 15 5. Which of the following attributes is used to specify elements to bind style rules to? A. Id B. Class C. Tag D. all of the above 6 / 15 6. Which of the following will provide date pickers? A. jQuery UI B. Niceforms C. WebShim D. Bootstrap 7 / 15 7. 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 8 / 15 8. 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 9 / 15 9. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 10 / 15 10. Which of the following Property controls the display of small caps? A. font-size B. font-variant C. font-style D. font-weight 11 / 15 11. What is the difference between display:none and visibillity:hidden? A. Both will hide the element on the page, but display:none has greater browser support, visibilty:hidden is a new property and does not have the best browser support. B. display:none hides the element but maintain the space it previously occupied. Visibility:hidden will hide the element from view and remove it from the normal flow of the document. C. display:none hides the element from view and removes it from the normal flow of the document. Visibility:hidden will hide the element but maintain the space it previously occupied. D. There is no difference, they both hide the elements on the page. 12 / 15 12. 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 13 / 15 13. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 14 / 15 14. Which of the following selector selects all element of E that have the attribute attr that end with the given value? A. E[attr^=value] B. E[attr$=value] C. E[attr*=value] D. E[attr&=value] 15 / 15 15. What will be the output of the following CSS code snippet? span { border: 1px solid red; outline: green dotted thick; } A. All span elements will have a green thick border and a red outline B. All span elements will have a red border and a green dotted outline C. All span elements will have a outer green dotted border and an inner red border D. All span elements will have an outer red border and inner green dotted border Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin