css-exam 0 votes, 0 avg 576 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet. A. audio/video B. sink C. @media D. @canvas 3 / 15 3. 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-fill-mode D. animation-play-state 4 / 15 4. How would you make the first letter of every paragraph on the page red? A. p::first-letter{color:red;} B. p:first-letter{color:red;} C. first-letter::p{color:red;} D. first-letter:p{color:red;} 5 / 15 5. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 6 / 15 6. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 7 / 15 7. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..} A. The rule will apply to a device that has a width of 1024px or narrower and is a screen device in landscape mode. B. The rule will apply to a device that has a width of 1024px or wider and is a screen device in landscape mode. C. The rule will apply to a device that has width of 1024px or narrower. Or is a screen device in landscape mode. D. The rule will apply to a device that has either a width of 1024px or wider, or is a screen device in landscape mode. 8 / 15 8. What is the role of pseudo-class in CSS A. Match a specified element B. Select the active links C. are used to select all the visited links D. are used to define a special state of an element 9 / 15 9. 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 10 / 15 10. Which of the following is the correct syntax to display the hyperlinks without any underline? A. a {decoration : no-underline;} B. a {text-decoration : none;} C. a {text-decoration : underline;} D. a {text decoration : none;} 11 / 15 11. What is the correct syntax for referring an external CSS? A. <link rel="stylesheet" type="text/css" href="style.css"/> B. <style rel="stylesheet" type="text/css" href="style.css"></style> C. <script rel="stylesheet" type="text/css" href="style.css"></script> D. none of the above 12 / 15 12. Which value specifies a transition effect with a slow start, then fast, then end slowly? A. ease B. linear C. ease-in D. ease-out 13 / 15 13. 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 14 / 15 14. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite? A. grid B. monochrome C. resolution D. orientation 15 / 15 15. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip Your score isThe average score is 48% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin