css-exam 0 votes, 0 avg 551 123456789101112131415 CSS Questions 1 / 15 1. Which value specifies a transition effect with a slow start, then fast, then end slowly? A. ease B. linear C. ease-in D. ease-out 2 / 15 2. 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;} 3 / 15 3. 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() 4 / 15 4. Which of the following will display a speech bubble pop-up? A. pop-up question form B. cartoon pop-up C. modal animation physics D. overlay pop-up 5 / 15 5. 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 6 / 15 6. Which variable defines the data type of the content in CSS? A. data_type B. content_type C. http_cookie D. http_user_agent 7 / 15 7. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 8 / 15 8. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;} A. color: red, text-decoration: underline works B. only font-style: italic works C. color: red, text-decoration: underline and font-style: italic all works D. text-decoration: underline and font-style: italic works 9 / 15 9. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 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. Choose the option that correctly specifies the output of the following CSS. span { border: 1px solid red; outline: green dotted thick; } A. All span elements will have a red border and a green dotted outline B. All span elements will have a green thick border and a red outline C. All span elements will have an outer red border and inner green dotted border D. All span elements will have a outer green dotted border and an inner red border 12 / 15 12. 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; 13 / 15 13. What should be the table width, So that the width of the table adjust to the current width of the browser window? A. 640 pixels B. 100.00% C. full-screen D. 1024 px 14 / 15 14. From the choices given below, select the correct oredr to code css pseudo-classes. A. link,visited,hover,active B. hover,link,active,visited C. link,hover,visited,active D. link,hover,active,visited 15 / 15 15. Which of the following property will be used to display border around a cell without any content? A. Noncontent-cell B. Blank-cell C. Empty-cell D. Void-cell Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin