css-exam 0 votes, 0 avg 575 123456789101112131415 CSS Questions 1 / 15 1. If a particular should never be overridden by another rule, the _______ indication should be used. A. !important! B. important! C. !important D. ?important 2 / 15 2. Which of the following Property controls the display of small caps? A. font-size B. font-variant C. font-style D. font-weight 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 CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 5 / 15 5. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 6 / 15 6. 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] 7 / 15 7. Which of the following properties will we use to display border around a cell without any content.? A. empty-cell B. blank-cell C. noncontent-cell D. void-cell 8 / 15 8. What is the way to specify media dependencies for style sheets ? A. Specify the target medium from a style sheet with the @media or @import at-rules B. Specify the target medium within the document language C. both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document language D. none of the mentioned 9 / 15 9. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 10 / 15 10. Which of the following function adjusts the difference between light and dark values, for use by the filter property? A. contrast() B. dark() C. saturation() D. brightness() 11 / 15 11. 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. 12 / 15 12. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 13 / 15 13. 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 14 / 15 14. Which one is NOT the audio element’s attribute? A. check B. controls C. loop D. src 15 / 15 15. 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 Your score isThe average score is 48% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin