css-exam 0 votes, 0 avg 547 123456789101112131415 CSS Questions 1 / 15 1. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 2 / 15 2. When using flexbox, the 'justify-content' property can be used to distribute the space between the flex items along the main axis. Which value should be used to evenly distribute the flex items within the container shown below. A. justify-content:center; B. justify-content:space-around; C. justify-content:auto; D. justify-content:space-between; 3 / 15 3. If a particular should never be overridden by another rule, the _______ indication should be used. A. !important! B. important! C. !important D. ?important 4 / 15 4. 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 5 / 15 5. CSS is written in which language? A. PHP B. HTML C. JAVA D. Python 6 / 15 6. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack? A. d-index B. s-index C. x-index D. z-index 7 / 15 7. 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 8 / 15 8. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 9 / 15 9. Which of the following will provide date pickers? A. jQuery UI B. Niceforms C. WebShim D. Bootstrap 10 / 15 10. 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 11 / 15 11. 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] 12 / 15 12. Which of the following CSS Property determines whether an animation should run in reverse on some cycles? A. animation B. animation-run C. animation-repeat D. none of the above 13 / 15 13. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content? A. background-scroll B. background-attach C. background-attachment D. background-allowance 14 / 15 14. What is the role of pseudo-class in CSS A. Match a specified element B. Select the active links C. are used to select all the visited links D. are used to define a special state of an element 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin