css-exam 0 votes, 0 avg 556 123456789101112131415 CSS Questions 1 / 15 1. What is the use of Pseudo-classes In CSS? A. To Match A Specified Element B. To select the active links C. Are used to select all the visited links D. Are used to define a special state of an element 2 / 15 2. 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 3 / 15 3. 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 --> 4 / 15 4. 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 5 / 15 5. 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. 6 / 15 6. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. none of the above 7 / 15 7. 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 8 / 15 8. 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 9 / 15 9. 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 10 / 15 10. Which of the following Media Query describe the ratio of the device width to the device height of the media? A. device-aspect B. device-aspect-ratio C. device-aspect-query D. none of the above 11 / 15 11. 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 12 / 15 12. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 13 / 15 13. 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 14 / 15 14. Which one is NOT the audio element’s attribute? A. check B. controls C. loop D. src 15 / 15 15. Which Of The Following Selector Selects An Element That Has No Children? A. :nochild B. :empty C. :inheritance D. :no-child Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin