CSS Questions March 14, 2023 | No Comments 0 votes, 0 avg 459 123456789101112131415 CSS Questions 1 / 15 1. Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element? A. HSLa Color B. HSL Color C. RGBa Color D. RGB Color 2 / 15 2. When we write < img src="img.png" > , what “img.png” inside double quote implies? A. element B. attribute C. value D. operator 3 / 15 3. Which variable defines the data type of the content in CSS? A. data_type B. content_type C. http_cookie D. http_user_agent 4 / 15 4. Three of these choices are tue about class selectors. Which is NOT true? A. Multiple classes can be used within the same element. B. The same class can be used multiple times per page. C. Class selectors with a leading period. D. Classes can be used multiple times per page but not within the same element. 5 / 15 5. 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{…} 6 / 15 6. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset 7 / 15 7. 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 8 / 15 8. 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 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 CSS3 property specifies the sequential navigation order for an element? A. nav B. class C. nav-index D. class-index 11 / 15 11. Which of the following is only for table elements? A. initial B. collapse C. hidden D. inherit 12 / 15 12. 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 13 / 15 13. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter? A. text-style : capital; B. transform : capitalize; C. text-transform : capital; D. text-transform : capitalize; 14 / 15 14. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________ A. border-collapse B. cell-collapse C. cell-spacing D. border-spacing 15 / 15 15. Which of the following is not value for the font-stretch(Font descriptor)? A. normal B. 50% C. expanded D. ultra-expanded Your score is The average score is 50% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Questions, Quiz