css-exam 0 votes, 0 avg 547 123456789101112131415 CSS Questions 1 / 15 1. Which of the following function adjusts the difference between light and dark values, for use by the filter property? A. contrast() B. dark() C. saturation() D. brightness() 2 / 15 2. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;} A. color: red, text-decoration: underline works B. only font-style: italic works C. color: red, text-decoration: underline and font-style: italic all works D. text-decoration: underline and font-style: italic works 3 / 15 3. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack? A. d-index B. s-index C. x-index D. z-index 4 / 15 4. 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 5 / 15 5. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 6 / 15 6. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 7 / 15 7. Which of the following is not value for the font-stretch(Font descriptor)? A. normal B. 50% C. expanded D. ultra-expanded 8 / 15 8. 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 9 / 15 9. Which one is NOT the audio element’s attribute? A. check B. controls C. loop D. src 10 / 15 10. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 11 / 15 11. 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. 12 / 15 12. Which of the following is used for spread radius? A. blur B. spread C. color D. v-offset 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 CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line? A. gradient() B. line-gradient() C. linear-gradient() D. none of the above 15 / 15 15. 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;} Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin