css-exam 0 votes, 0 avg 547 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. 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 3 / 15 3. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 4 / 15 4. 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;} 5 / 15 5. Identify the outline property that specifies the amount of area extended beyond the border box. A. outset3d B. inset C. outset D. inset3d 6 / 15 6. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 7 / 15 7. Which of the following will provide date pickers? A. jQuery UI B. Niceforms C. WebShim D. Bootstrap 8 / 15 8. Which Of The Following Selector Selects An Element That Has No Children? A. :nochild B. :empty C. :inheritance D. :no-child 9 / 15 9. 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 10 / 15 10. Which of the following CSS Property determines whether an animation should run in reverse on some cycles? A. animation B. animation-run C. animation-repeat D. none of the above 11 / 15 11. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 12 / 15 12. 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 13 / 15 13. Which variable defines the data type of the content in CSS? A. data_type B. content_type C. http_cookie D. http_user_agent 14 / 15 14. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..} A. The rule will apply to a device that has a width of 1024px or narrower and is a screen device in landscape mode. B. The rule will apply to a device that has a width of 1024px or wider and is a screen device in landscape mode. C. The rule will apply to a device that has width of 1024px or narrower. Or is a screen device in landscape mode. D. The rule will apply to a device that has either a width of 1024px or wider, or is a screen device in landscape mode. 15 / 15 15. Using an attribute selector, how would you select an a tag element with a 'title' attribute? A. a[title]{...} B. a>title{…} C. a.title{…} D. a=title{…} Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin