css-exam 0 votes, 0 avg 551 123456789101112131415 CSS Questions 1 / 15 1. 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] 2 / 15 2. Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends? A. animation-play B. animation-delay C. animation-play-state D. animation-fill-mode 3 / 15 3. 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 4 / 15 4. 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;} 5 / 15 5. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..} A. The rule will apply to a device that has a width of 1024px or narrower and is a screen device in landscape mode. B. The rule will apply to a device that has a width of 1024px or wider and is a screen device in landscape mode. C. The rule will apply to a device that has width of 1024px or narrower. Or is a screen device in landscape mode. D. The rule will apply to a device that has either a width of 1024px or wider, or is a screen device in landscape mode. 6 / 15 6. 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 7 / 15 7. Which of the following attributes is used to specify elements to bind style rules to? A. Id B. Class C. Tag D. all of the above 8 / 15 8. 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 9 / 15 9. In the below code snippet, in what order will the margins be added? p { margin: 25px 50px 75px 100px; } A. Top, Right, Bottom, Left B. Top, Left, Bottom, Right C. Top, Bottom, Right, Left D. Right, Left, Top, Bottom 10 / 15 10. 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 11 / 15 11. 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 12 / 15 12. Which of the following Media Query describe the ratio of the device width to the device height of the media? A. device-aspect B. device-aspect-ratio C. device-aspect-query D. none of the above 13 / 15 13. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 14 / 15 14. 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 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin