css-exam 0 votes, 0 avg 571 123456789101112131415 CSS Questions 1 / 15 1. Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element? A. animation B. animation-name C. animation-element D. none of the above 2 / 15 2. 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 3 / 15 3. Which of the following CSS Property sets the stacking order of positioned elements? A. y-index B. z-index C. x-index D. none of the above 4 / 15 4. Which of the following is not value for the font-stretch(Font descriptor)? A. normal B. 50% C. expanded D. ultra-expanded 5 / 15 5. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 6 / 15 6. If we don't want to allow a floating div to the left side of an element, which CSS property will we use? A. margin B. clear C. float D. padding 7 / 15 7. Which statement about block and inline elements is true? A. By default, block elements are the same height and width as the content container between their tags; Inline elements span the entire width of its container. B. By default, block elements are span the entire width of its container; Inline elements are the same height and width as the content container between their tags; C. A nav tag element is an example of an inline element. Header tag is an example of a block element. D. A span tag is an example of a block element. Div tag is an example of an inline element. 8 / 15 8. What is the difference between the margin and padding properties? A. Margin adds space around and inside of an element; Padding adds space only inside on an element. B. Margin adds space around an element; Padding adds space inside of an element. C. Margin adds a line around element; Padding adds space inside of an element. D. Margin adds space inside of an element; Padding adds space around an element. 9 / 15 9. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 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. How would you make the first letter of every paragraph on the page red? A. p::first-letter{color:red;} B. p:first-letter{color:red;} C. first-letter::p{color:red;} D. first-letter:p{color:red;} 12 / 15 12. Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends? A. animation-play B. animation-delay C. animation-play-state D. animation-fill-mode 13 / 15 13. 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() 14 / 15 14. 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 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin