css-exam 0 votes, 0 avg 551 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. 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 3 / 15 3. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 4 / 15 4. 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; 5 / 15 5. Which of the following property controls the horizontal overflow of a block or inline block? A. overflow-x B. overflow C. overflow-y D. overflow-k 6 / 15 6. 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 7 / 15 7. What is the way to specify media dependencies for style sheets ? A. Specify the target medium from a style sheet with the @media or @import at-rules B. Specify the target medium within the document language C. both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document language D. none of the mentioned 8 / 15 8. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 9 / 15 9. 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; 10 / 15 10. Which of the following will display a speech bubble pop-up? A. pop-up question form B. cartoon pop-up C. modal animation physics D. overlay pop-up 11 / 15 11. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 12 / 15 12. Which of the following property will be used to display border around a cell without any content? A. Noncontent-cell B. Blank-cell C. Empty-cell D. Void-cell 13 / 15 13. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 14 / 15 14. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. none of the above 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin