css-exam 0 votes, 0 avg 557 123456789101112131415 CSS Questions 1 / 15 1. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 2 / 15 2. Which of the following property of a anchor element signifies unvisited hyperlinks? A. :link B. :visited C. :hover D. :active 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 will provide date pickers? A. jQuery UI B. Niceforms C. WebShim D. Bootstrap 5 / 15 5. 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() 6 / 15 6. 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 7 / 15 7. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 8 / 15 8. What will be the output of the following CSS code snippet? span { border: 1px solid red; outline: green dotted thick; } A. All span elements will have a green thick border and a red outline B. All span elements will have a red border and a green dotted outline C. All span elements will have a outer green dotted border and an inner red border D. All span elements will have an outer red border and inner green dotted border 9 / 15 9. Which of the following selector selects an element if it’s the only child of its parent? A. :nth-oftype(n) B. :only-child C. :root D. :single-child 10 / 15 10. 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 11 / 15 11. Which of the following selector matches the name of any element type? A. The Type Selector B. The Universal Selector C. The Descedant Selector D. The Class Selector 12 / 15 12. Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element? A. animation B. animation-name C. animation-element D. none of the above 13 / 15 13. What scales the background image as large as possible? A. contain B. cover C. wrap D. resize 14 / 15 14. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet. A. audio/video B. sink C. @media D. @canvas 15 / 15 15. Which of the following will display a speech bubble pop-up? A. pop-up question form B. cartoon pop-up C. modal animation physics D. overlay pop-up Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin