css-exam 0 votes, 0 avg 545 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset 3 / 15 3. 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 4 / 15 4. Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration? A. border-collapse B. border-width C. padding D. border 5 / 15 5. 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 6 / 15 6. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 7 / 15 7. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;} A. color: red, text-decoration: underline works B. only font-style: italic works C. color: red, text-decoration: underline and font-style: italic all works D. text-decoration: underline and font-style: italic works 8 / 15 8. Which of the following property sets list-style-type, list-style-position, and liststyle-image? A. style B. list-style C. menu-style D. img-style 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. Which of the following CSS Gradient Functions creates a circular, and optionally sets its shape, size, and position? A. radial-gradient() B. circular-gradient() C. elliptical-gradient() D. none of the above 11 / 15 11. 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 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 is not value for the font-stretch(Font descriptor)? A. normal B. 50% C. expanded D. ultra-expanded 14 / 15 14. Which one can animate the width of search input when get focus? A. focus B. outline C. transition D. color 15 / 15 15. IF we want to wrap a block of text around an image, which css property will we use? A. wrap B. push C. float D. align Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin