css-exam 0 votes, 0 avg 393 123456789101112131415 CSS Questions 1 / 15 1. Three of these choices are tue about class selectors. Which is NOT true? A. Multiple classes can be used within the same element. B. The same class can be used multiple times per page. C. Class selectors with a leading period. D. Classes can be used multiple times per page but not within the same element. 2 / 15 2. When using position fixed, what will the element always be positioned relative to? A. the closest element with position:relative B. the viewport C. the parent element D. the wrapper element 3 / 15 3. Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element? A. animation B. animation-name C. animation-element D. none of the above 4 / 15 4. Which of the following properties will we use to display border around a cell without any content.? A. empty-cell B. blank-cell C. noncontent-cell D. void-cell 5 / 15 5. 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 6 / 15 6. Which of the following CSS3 property specifies the sequential navigation order for an element? A. nav B. class C. nav-index D. class-index 7 / 15 7. 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 8 / 15 8. 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 9 / 15 9. 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 10 / 15 10. CSS is written in which language? A. PHP B. HTML C. JAVA D. Python 11 / 15 11. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 12 / 15 12. What type of CSS is generally recommended for designing large web pages? A. Inline B. Internal C. External D. none of the above 13 / 15 13. Which one can animate the width of search input when get focus? A. focus B. outline C. transition D. color 14 / 15 14. Which of the following selector selects an element if it’s the only child of its parent? A. :nth-oftype(n) B. :only-child C. :root D. :single-child 15 / 15 15. What scales the background image as large as possible? A. contain B. cover C. wrap D. resize Your score is The average score is 52% LinkedIn Facebook Twitter VKontakte 0% Restart quiz