css-exam 0 votes, 0 avg 575 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. 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 3 / 15 3. How do you comment in CSS file? A. //this is a coment// B. /* this is a comment */ C. //this is a comment D. <!-- this is a comment --> 4 / 15 4. 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 5 / 15 5. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 6 / 15 6. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset 7 / 15 7. Which one can animate the width of search input when get focus? A. focus B. outline C. transition D. color 8 / 15 8. 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 9 / 15 9. Which of the following attributes is used to specify elements to bind style rules to? A. Id B. Class C. Tag D. all of the above 10 / 15 10. Which of the following CSS Property sets the stacking order of positioned elements? A. y-index B. z-index C. x-index D. none of the above 11 / 15 11. CSS is written in which language? A. PHP B. HTML C. JAVA D. Python 12 / 15 12. 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() 13 / 15 13. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 14 / 15 14. Which of the following property sets list-style-type, list-style-position, and liststyle-image? A. style B. list-style C. menu-style D. img-style 15 / 15 15. 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. Your score isThe average score is 48% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin