css-exam 0 votes, 0 avg 543 123456789101112131415 CSS Questions 1 / 15 1. From the choices given below, select the correct oredr to code css pseudo-classes. A. link,visited,hover,active B. hover,link,active,visited C. link,hover,visited,active D. link,hover,active,visited 2 / 15 2. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content? A. background-scroll B. background-attach C. background-attachment D. background-allowance 3 / 15 3. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. none of the above 4 / 15 4. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 5 / 15 5. 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. 6 / 15 6. 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 7 / 15 7. 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-play-state D. animation-fill-mode 8 / 15 8. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;} A. color: red, text-decoration: underline works B. only font-style: italic works C. color: red, text-decoration: underline and font-style: italic all works D. text-decoration: underline and font-style: italic works 9 / 15 9. Which one of these is NOT an appropriate value for the font-variant property? A. small-caps B. large-caps C. default D. inherit 10 / 15 10. 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 11 / 15 11. 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 12 / 15 12. 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 13 / 15 13. Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element? A. float B. float-left C. float-right D. float-align 14 / 15 14. What type of CSS is generally recommended for designing large web pages? A. Inline B. Internal C. External D. none of the above 15 / 15 15. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin