CSS Questions March 14, 2023 | No Comments 0 votes, 0 avg 8 123456789101112131415 CSS Questions 1 / 15 1. IF we want to wrap a block of text around an image, which css property will we use? A. wrap B. push C. float D. align 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 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 4 / 15 4. 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;} 5 / 15 5. From the choices given below, select the correct oredr to code css pseudo-classes. A. link,visited,hover,active B. hover,link,active,visited C. link,hover,visited,active D. link,hover,active,visited 6 / 15 6. 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 7 / 15 7. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 8 / 15 8. 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 9 / 15 9. Which of the following CSS property specifies the look and design of an outline? A. outline-style B. outline-format C. outline-font D. none of the mentioned 10 / 15 10. Which of the following CSS property is used to specify the space between every letter inside an element? A. character-spacing B. letterSpacing C. letter-spacing D. characterSpacing 11 / 15 11. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. none of the above 12 / 15 12. If a particular should never be overridden by another rule, the _______ indication should be used. A. !important! B. important! C. !important D. ?important 13 / 15 13. Which of the following is used for spread radius? A. blur B. spread C. color D. v-offset 14 / 15 14. Which of the following property of a anchor element signifies unvisited hyperlinks? A. :link B. :visited C. :hover D. :active 15 / 15 15. If we don’t want to allow a floating div to the left side of an element, which CSS property will we use? A. margin B. clear C. float D. padding Your score is The average score is 23% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Questions, Quiz