css-exam 0 votes, 0 avg 551 123456789101112131415 CSS Questions 1 / 15 1. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 2 / 15 2. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset 3 / 15 3. 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 4 / 15 4. 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 5 / 15 5. Which statement about block and inline elements is true? A. By default, block elements are the same height and width as the content container between their tags; Inline elements span the entire width of its container. B. By default, block elements are span the entire width of its container; Inline elements are the same height and width as the content container between their tags; C. A nav tag element is an example of an inline element. Header tag is an example of a block element. D. A span tag is an example of a block element. Div tag is an example of an inline element. 6 / 15 6. Which of the following CSS property is used to specify the space between every letter inside an element? A. character-spacing B. letterSpacing C. letter-spacing D. characterSpacing 7 / 15 7. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 8 / 15 8. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 9 / 15 9. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 10 / 15 10. 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 11 / 15 11. Which one can animate the width of search input when get focus? A. focus B. outline C. transition D. color 12 / 15 12. CSS is written in which language? A. PHP B. HTML C. JAVA D. Python 13 / 15 13. Three of these choices are tue about class selectors. Which is NOT true? A. Multiple classes can be used within the same element. B. The same class can be used multiple times per page. C. Class selectors with a leading period. D. Classes can be used multiple times per page but not within the same element. 14 / 15 14. 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 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin