css-exam 0 votes, 0 avg 557 123456789101112131415 CSS Questions 1 / 15 1. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 2 / 15 2. Which of the following Property controls the display of small caps? A. font-size B. font-variant C. font-style D. font-weight 3 / 15 3. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 4 / 15 4. 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. 5 / 15 5. Which of the following selector in CSS is used to select the elements that do not match the selectors? A. :not selector B. :empty selector C. :! Selector D. none of the above 6 / 15 6. 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{…} 7 / 15 7. Which selector do we use to specify the rule for binding some particular unique element? A. Class B. id C. Tags D. both tags and class 8 / 15 8. 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 --> 9 / 15 9. What type of CSS is generally recommended for designing large web pages? A. Inline B. Internal C. External D. none of the above 10 / 15 10. 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 11 / 15 11. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 12 / 15 12. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left abd right? A. padding:10px 10px 0px 0px; B. padding:10px 0px ; C. padding:10px 0; D. padding:10px 0px 10px 0px; 13 / 15 13. 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 14 / 15 14. Which of the following property sets list-style-type, list-style-position, and liststyle-image? A. style B. list-style C. menu-style D. img-style 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin