css-exam 0 votes, 0 avg 560 123456789101112131415 CSS Questions 1 / 15 1. CSS is written in which language? A. PHP B. HTML C. JAVA D. Python 2 / 15 2. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 3 / 15 3. Which of the following selector selects an element if it’s the only child of its parent? A. :nth-oftype(n) B. :only-child C. :root D. :single-child 4 / 15 4. Which of the following selector matches the name of any element type? A. The Type Selector B. The Universal Selector C. The Descedant Selector D. The Class Selector 5 / 15 5. Which of the following property will be used to display border around a cell without any content? A. Noncontent-cell B. Blank-cell C. Empty-cell D. Void-cell 6 / 15 6. 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 7 / 15 7. 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 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. Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line? A. gradient() B. line-gradient() C. linear-gradient() D. none of the above 10 / 15 10. 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{…} 11 / 15 11. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 12 / 15 12. Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element? A. float B. float-left C. float-right D. float-align 13 / 15 13. 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 14 / 15 14. 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 15 / 15 15. Which of the following property of a anchor element signifies unvisited hyperlinks? A. :link B. :visited C. :hover D. :active Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin