css-exam 0 votes, 0 avg 570 123456789101112131415 CSS Questions 1 / 15 1. 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() 2 / 15 2. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 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. Which of the following media feature describes the number of entries in the color lookup table of the output device A. color B. color-index C. color-value D. color-@media 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 CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 7 / 15 7. 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 8 / 15 8. 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 9 / 15 9. Choose the option that correctly specifies the output of the following CSS. span { border: 1px solid red; outline: green dotted thick; } A. All span elements will have a red border and a green dotted outline B. All span elements will have a green thick border and a red outline C. All span elements will have an outer red border and inner green dotted border D. All span elements will have a outer green dotted border and an inner red border 10 / 15 10. What should be the table width, So that the width of the table adjust to the current width of the browser window? A. 640 pixels B. 100.00% C. full-screen D. 1024 px 11 / 15 11. 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 12 / 15 12. 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 13 / 15 13. What is the role of pseudo-class in CSS A. Match a specified element B. Select the active links C. are used to select all the visited links D. are used to define a special state of an element 14 / 15 14. 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;} 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin