css-exam 0 votes, 0 avg 575 123456789101112131415 CSS Questions 1 / 15 1. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 2 / 15 2. 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 3 / 15 3. 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 4 / 15 4. 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 5 / 15 5. Which one can animate the width of search input when get focus? A. focus B. outline C. transition D. color 6 / 15 6. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 7 / 15 7. 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 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. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 10 / 15 10. 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 11 / 15 11. Which of the following selector selects all element of E that have the attribute attr that end with the given value? A. E[attr^=value] B. E[attr$=value] C. E[attr*=value] D. E[attr&=value] 12 / 15 12. Which of the following is not a browser-specific versions of linear-gradient()? A. -moz-linear-gradient() B. -o-linear-gradient() C. -mac-linear-gradient() D. -webkit-linear-gradient() 13 / 15 13. 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;} 14 / 15 14. Which of the following CSS selectors are used to specify a group of elements? A. tag B. id C. class D. both id and class 15 / 15 15. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static Your score isThe average score is 48% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin