css-exam 0 votes, 0 avg 551 123456789101112131415 CSS Questions 1 / 15 1. CSS is written in which language? A. PHP B. HTML C. JAVA D. Python 2 / 15 2. IF we want to wrap a block of text around an image, which css property will we use? A. wrap B. push C. float D. align 3 / 15 3. 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 4 / 15 4. Which of the following is used for spread radius? A. blur B. spread C. color D. v-offset 5 / 15 5. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 6 / 15 6. What will be the output of the following CSS code snippet? span { border: 1px solid red; outline: green dotted thick; } A. All span elements will have a green thick border and a red outline B. All span elements will have a red border and a green dotted outline C. All span elements will have a outer green dotted border and an inner red border D. All span elements will have an outer red border and inner green dotted border 7 / 15 7. 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 8 / 15 8. Which of the following Property controls the display of small caps? A. font-size B. font-variant C. font-style D. font-weight 9 / 15 9. 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; 10 / 15 10. Which of the following selector selects an element if it’s the only child of its parent? A. :nth-oftype(n) B. :only-child C. :root D. :single-child 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. Which of the following CSS3 property specifies the sequential navigation order for an element? A. nav B. class C. nav-index D. class-index 13 / 15 13. When using position fixed, what will the element always be positioned relative to? A. the closest element with position:relative B. the viewport C. the parent element D. the wrapper element 14 / 15 14. 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;} 15 / 15 15. What is CSS? A. CSS is a style sheet language B. CSS is designed to separate the presentation and content, including layout, colors, and fonts C. CSS is the language used to style the HTML documents D. All of the mentioned Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin