css-exam 0 votes, 0 avg 545 123456789101112131415 CSS Questions 1 / 15 1. Which of the following is not value for the font-stretch(Font descriptor)? A. normal B. 50% C. expanded D. ultra-expanded 2 / 15 2. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 3 / 15 3. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 4 / 15 4. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 5 / 15 5. Which of the following Property controls the display of small caps? A. font-size B. font-variant C. font-style D. font-weight 6 / 15 6. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 7 / 15 7. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left abd right? A. padding:10px 10px 0px 0px; B. padding:10px 0px ; C. padding:10px 0; D. padding:10px 0px 10px 0px; 8 / 15 8. Which selector do we use to specify the rule for binding some particular unique element? A. Class B. id C. Tags D. both tags and class 9 / 15 9. 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. 10 / 15 10. 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 11 / 15 11. Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line? A. gradient() B. line-gradient() C. linear-gradient() D. none of the above 12 / 15 12. Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element? A. float B. float-left C. float-right D. float-align 13 / 15 13. 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 14 / 15 14. 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 15 / 15 15. CSS is written in which language? A. PHP B. HTML C. JAVA D. Python Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin