css-exam 0 votes, 0 avg 570 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. 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 3 / 15 3. Which statement regarding icon fonts is true? A. Icon fonts can be inserted only using JavaScript. B. Icon fonts can be styled with typography-related properties such as font-size and color. C. Icon fonts are inserted as inline images. D. Icon fonts require browser extension. 4 / 15 4. Which of the following properties will we use to display border around a cell without any content.? A. empty-cell B. blank-cell C. noncontent-cell D. void-cell 5 / 15 5. 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 6 / 15 6. 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 7 / 15 7. What is the way to specify media dependencies for style sheets ? A. Specify the target medium from a style sheet with the @media or @import at-rules B. Specify the target medium within the document language C. both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document language D. none of the mentioned 8 / 15 8. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 9 / 15 9. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet. A. audio/video B. sink C. @media D. @canvas 10 / 15 10. Which of the following selector selects all element of E that have the attribute attr that end with the given value? A. E[attr^=value] B. E[attr$=value] C. E[attr*=value] D. E[attr&=value] 11 / 15 11. Which of these functions is the 2D transformation in the matrix format? A. perspective B. matrix3d() C. matrix2d() D. matrix() 12 / 15 12. 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. 13 / 15 13. 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 14 / 15 14. 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 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin