css-exam 0 votes, 0 avg 551 123456789101112131415 CSS Questions 1 / 15 1. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________ A. border-collapse B. cell-collapse C. cell-spacing D. border-spacing 2 / 15 2. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 3 / 15 3. 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 4 / 15 4. In the example below, when will the color pink be applied to the anchor element? a:active{ color:pink; } A. The color of the link will be display as pink while the link is being clicked but before the mouse click is released. B. The color of the link will display as pink before it has been clicked. C. The color of the link will display as pink after its been clicked or if the mouse is hovering over the link. D. The color of the link will display as pink on mouse hover. 5 / 15 5. There are many properties that can be used to align elements and create page layouts such as float,postion,flexbox and grid. Out of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page? A. position B. flexbox C. grid D. float 6 / 15 6. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 7 / 15 7. Which of the following CSS property defines how an image or video fits into container with established height and width? A. object-fit B. object-contain C. object-cover D. position:fixed 8 / 15 8. Identify the outline property that specifies the amount of area extended beyond the border box. A. outset3d B. inset C. outset D. inset3d 9 / 15 9. 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 --> 10 / 15 10. Which of the following property of a anchor element signifies unvisited hyperlinks? A. :link B. :visited C. :hover D. :active 11 / 15 11. 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] 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 of the following is used for spread radius? A. blur B. spread C. color D. v-offset 14 / 15 14. Which of the following CSS Property sets the stacking order of positioned elements? A. y-index B. z-index C. x-index D. none of the above 15 / 15 15. 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-fill-mode D. animation-play-state Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin