css-exam 0 votes, 0 avg 576 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter? A. text-style : capital; B. transform : capitalize; C. text-transform : capital; D. text-transform : capitalize; 3 / 15 3. 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 4 / 15 4. Which of the following is used to specify the subscript of text using CSS? A. align: subscript B. vertical-align: subscript C. vertical-align: sub D. alignment:sub 5 / 15 5. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 6 / 15 6. 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 7 / 15 7. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 8 / 15 8. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. none of the above 9 / 15 9. Which of the following is not a browser-specific versions of linear-gradient()? A. -moz-linear-gradient() B. -o-linear-gradient() C. -mac-linear-gradient() D. -webkit-linear-gradient() 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. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 12 / 15 12. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 13 / 15 13. 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. 14 / 15 14. Using an attribute selector, how would you select an a tag element with a 'title' attribute? A. a[title]{...} B. a>title{…} C. a.title{…} D. a=title{…} 15 / 15 15. 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 Your score isThe average score is 48% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin