css-exam 0 votes, 0 avg 571 123456789101112131415 CSS Questions 1 / 15 1. What type of CSS is generally recommended for designing large web pages? A. Inline B. Internal C. External D. none of the above 2 / 15 2. Identify the outline property that specifies the amount of area extended beyond the border box. A. outset3d B. inset C. outset D. inset3d 3 / 15 3. Which of the following selector selects the element that is the first child of its parent that is of its type? A. ::first-letter B. ::first-line C. :last-child D. :first-of-type 4 / 15 4. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 5 / 15 5. Which of the following Property controls the display of small caps? A. font-size B. font-variant C. font-style D. font-weight 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. Which of the following CSS property defines how an image or video fits into container with established height and width? A. object-fit B. object-contain C. object-cover D. position:fixed 8 / 15 8. 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 9 / 15 9. 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() 10 / 15 10. Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use? A. System Color Names B. HSLa Color C. Commonly defined named colors D. Specificationdefined named colors 11 / 15 11. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 12 / 15 12. 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 --> 13 / 15 13. Which of the following CSS property specifies the look and design of an outline? A. outline-style B. outline-format C. outline-font D. none of the mentioned 14 / 15 14. Which of the following Viewport Property determines whether the display can be zoomed in and out? A. scale B. set-scale C. adjust-scale D. user-scalable 15 / 15 15. What is the difference between display:none and visibillity:hidden? A. Both will hide the element on the page, but display:none has greater browser support, visibilty:hidden is a new property and does not have the best browser support. B. display:none hides the element but maintain the space it previously occupied. Visibility:hidden will hide the element from view and remove it from the normal flow of the document. C. display:none hides the element from view and removes it from the normal flow of the document. Visibility:hidden will hide the element but maintain the space it previously occupied. D. There is no difference, they both hide the elements on the page. Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin