css-exam 0 votes, 0 avg 559 123456789101112131415 CSS Questions 1 / 15 1. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 2 / 15 2. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset 3 / 15 3. In the below code snippet, in what order will the margins be added? p { margin: 25px 50px 75px 100px; } A. Top, Right, Bottom, Left B. Top, Left, Bottom, Right C. Top, Bottom, Right, Left D. Right, Left, Top, Bottom 4 / 15 4. In the example below, when will the color pink be applied to the anchor element? a:active{ color:pink; } A. The color of the link will be display as pink while the link is being clicked but before the mouse click is released. B. The color of the link will display as pink before it has been clicked. C. The color of the link will display as pink after its been clicked or if the mouse is hovering over the link. D. The color of the link will display as pink on mouse hover. 5 / 15 5. 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 6 / 15 6. 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 7 / 15 7. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 8 / 15 8. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 9 / 15 9. There are many properties that can be used to align elements and create page layouts such as float,postion,flexbox and grid. Out of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page? A. position B. flexbox C. grid D. float 10 / 15 10. 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() 11 / 15 11. 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 12 / 15 12. Which of the following property of a anchor element signifies unvisited hyperlinks? A. :link B. :visited C. :hover D. :active 13 / 15 13. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite? A. grid B. monochrome C. resolution D. orientation 14 / 15 14. Which of the following is used to specify the subscript of text using CSS? A. align: subscript B. vertical-align: subscript C. vertical-align: sub D. alignment:sub 15 / 15 15. Which of the following Media Query describe the ratio of the device width to the device height of the media? A. device-aspect B. device-aspect-ratio C. device-aspect-query D. none of the above Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin