css-sep 0% 13 123456789101112131415161718192021222324252627282930 CSS Test 1 / 30 1. The CSS property used to set the indentation of the first line in a block of text is - A. text-stroke property B. text-indent property C. text-decoration property D. text-overflow property 2 / 30 2. Which of these functions would convert the color of an element by the filter property to a grey shade, for use? A. grayscale() B. shade() C. brightness() D. black() 3 / 30 3. flex-direction allows you to do what? A. define the direction of how elements are positioned based on either row or column B. define how to position elements vertically C. define how elements will wrap when the browser width is changed D. defines how position elements horizontally 4 / 30 4. Which of the following property specifies the order of a flexible item relative to the rest of the flexible items inside the same container? A. sort B. layout C. order D. asort 5 / 30 5. Which of these measurements would define a measurement that is relative to the x-height of a font? A. px B. pt C. em D. ex 6 / 30 6. the css property "order" for flex items allows you to A. specify in what order the flex items appear B. specify at what time flex items appear C. specify in what direction the flex items appear D. none of the above. 7 / 30 7. How can you center an element horizontally using CSS? A. text-align: center; B. margin: auto; C. align-content: center; D. position: center; 8 / 30 8. Which of the following is not a type of combinator? A. ~ B. > C. : D. * 9 / 30 9. Which CSS3 Color Feature could be used as a macro for any current color? A. HSLa Color B. RGB Color C. CurrentColor keyword D. HSL Color 10 / 30 10. How do you specify multiple CSS styles for a single HTML element? A. Separate each style with a comma. B. You can't specify multiple styles for a single HTML element C. Separate each style with a semicolon. D. None of these 11 / 30 11. Which of the following is the correct syntax to select all paragraph elements in a div element? A. div p B. p C. div#p D. div ~ p 12 / 30 12. A grid layout consists of a parent element, with one or more _______________________.? A. The Text is shown normal. B. None of the above C. child elements. 13 / 30 13. Which Selector selects any element in case it is the only child element of its parent element with its type? A. :target B. :only-of-type C. @media D. ::selection 14 / 30 14. Which selector do we use to specify the rule for binding some particular unique element? A. class B. tag C. both tag and class D. id 15 / 30 15. The “color:red” in CSS can be known as _____________: A. Value B. Declaration C. Selector D. Rule 16 / 30 16. Which of the following selector is used to selects the element that is the first child of its parent that is of its type? A. :nth-child(n) B. ::first-line C. :last-of-type D. :first-of-type 17 / 30 17. ___________ is used to define a special state of an element. A. pseudo-tag B. pseudo-element C. pseudo-id D. pseudo-class 18 / 30 18. The screen media type can be used with: A. television-type devices B. computer devices C. handheld screens D. all devices 19 / 30 19. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align & float D. centre 20 / 30 20. Which of the following code set the webpage correctly displayed on a device? A. <meta name="viewport" content="width=device-width, initial-scale=1.0"> B. <meta name="viewport" content="width=device-width, initial-scale=2.0"> C. <meta name="viewport" content="width=device-width, initial-scale='parent-size'"> D. <meta name="viewports" content="width=device-width, initial-scale=1.0"> 21 / 30 21. flex-basis defines A. the width of the flex element B. the base of the flex element C. if the flex element is visible D. the boldness of the flex element 22 / 30 22. Which one of these is NOT an appropriate value for the font-variant property? A. small-caps B. large-caps C. default D. inherit 23 / 30 23. Which of the following measurement represent seconds? A. second B. s C. sec D. se 24 / 30 24. Which of these protocols would enable a hyperlink to easily access any file on the available local file system? A. ftp B. https C. telnet D. file 25 / 30 25. Which of the following CSS property is used to specify the type of quotation mark? A. quotes property B. z-index property C. hyphens property D. None of the above 26 / 30 26. Which of the following is the correct form to create Grid Template rows? A. grid-template-rows: 80px 200px; B. None of the above C. flex-wrap: no-wrap; 27 / 30 27. What does the CSS property "display" do? A. Sets the position of an element on a web page B. Changes the color of an element C. Sets the font size of text D. Determines how an element is displayed on a web page (inline, block, none, etc.) 28 / 30 28. Which of the following CSS properties specifies the stack order of elements? A. z-index B. overlab C. No such Specific property is present D. None of the above 29 / 30 29. Which one is NOT the audio element’s attribute? A. check B. controls C. loop D. src 30 / 30 30. Which of the following selector is used to selects the element that is the root of the document? A. :only-of-type B. :target C. :root D. ::selection Your score is LinkedIn Facebook VKontakte 0% By Wordpress Quiz plugin