css-exam 0 votes, 0 avg 550 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. 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 3 / 15 3. Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use? A. System Color Names B. HSLa Color C. Commonly defined named colors D. Specificationdefined named colors 4 / 15 4. 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 5 / 15 5. 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 6 / 15 6. 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 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. When adding transparency styles, what is the difference between using the opacity property versus the background property with rgba() value? A. Opacity specifies the level of transparency of the child element. Background with a rgba() value applies transparency to the background color only. B. Opacity applies transparency to the background color only. Background with a rgba() value specifies the level of transparency of an element, as a whole, including its content. C. Opacity specifies the level of transparency of an element, including its content. Background with a rgba() value applies transparency to the background color only. D. Opacity applies transparency to the parent and child elements. Background with a rgba() value specifies the level of transparency of the parent element only. 9 / 15 9. Which of the following selector selects the element that is the first child of its parent that is of its type? A. ::first-letter B. ::first-line C. :last-child D. :first-of-type 10 / 15 10. Which of the following property of a table element specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style? A. :border-collapse B. :border-spacing C. :caption-side D. :empty-cells 11 / 15 11. Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration? A. border-collapse B. border-width C. padding D. border 12 / 15 12. 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 13 / 15 13. When using flexbox, the 'justify-content' property can be used to distribute the space between the flex items along the main axis. Which value should be used to evenly distribute the flex items within the container shown below. A. justify-content:center; B. justify-content:space-around; C. justify-content:auto; D. justify-content:space-between; 14 / 15 14. 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 15 / 15 15. In the example below, when will the color pink be applied to the anchor element? a:active{ color:pink; } A. The color of the link will be display as pink while the link is being clicked but before the mouse click is released. B. The color of the link will display as pink before it has been clicked. C. The color of the link will display as pink after its been clicked or if the mouse is hovering over the link. D. The color of the link will display as pink on mouse hover. Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin