css-exam 0 votes, 0 avg 551 123456789101112131415 CSS Questions 1 / 15 1. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 2 / 15 2. If a particular should never be overridden by another rule, the _______ indication should be used. A. !important! B. important! C. !important D. ?important 3 / 15 3. 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 4 / 15 4. What is the correct syntax for referring an external CSS? A. <link rel="stylesheet" type="text/css" href="style.css"/> B. <style rel="stylesheet" type="text/css" href="style.css"></style> C. <script rel="stylesheet" type="text/css" href="style.css"></script> D. none of the above 5 / 15 5. 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 6 / 15 6. Which of the following media feature describes the number of entries in the color lookup table of the output device A. color B. color-index C. color-value D. color-@media 7 / 15 7. 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 8 / 15 8. 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{…} 9 / 15 9. Which one of these is NOT an appropriate value for the font-variant property? A. small-caps B. large-caps C. default D. inherit 10 / 15 10. 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 11 / 15 11. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 12 / 15 12. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 13 / 15 13. Which CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 14 / 15 14. 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 15 / 15 15. How do you comment in CSS file? A. //this is a coment// B. /* this is a comment */ C. //this is a comment D. <!-- this is a comment --> Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin