css-exam 0 votes, 0 avg 560 123456789101112131415 CSS Questions 1 / 15 1. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite? A. grid B. monochrome C. resolution D. orientation 2 / 15 2. IF we want to wrap a block of text around an image, which css property will we use? A. wrap B. push C. float D. align 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 CSS property is used for controlling the layout? A. Header B. Footer C. Display D. Cascade 5 / 15 5. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter? A. text-style : capital; B. transform : capitalize; C. text-transform : capital; D. text-transform : capitalize; 6 / 15 6. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 7 / 15 7. Which model includes margin, border, padding, and content? A. CSS3 Grid Layout model B. CSS3 Flexbox Box model C. CSS Box model D. CSS Grid Template Layout Module 8 / 15 8. Which of the following Property controls the display of small caps? A. font-size B. font-variant C. font-style D. font-weight 9 / 15 9. What is the role of pseudo-class in CSS A. Match a specified element B. Select the active links C. are used to select all the visited links D. are used to define a special state of an element 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 of the following is only for table elements? A. initial B. collapse C. hidden D. inherit 12 / 15 12. Which of the following will insert generated content in the counter? A. content B. counter-reset C. counter-increment D. counter() 13 / 15 13. Which of the following property of a table element specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style? A. :border-collapse B. :border-spacing C. :caption-side D. :empty-cells 14 / 15 14. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet. A. audio/video B. sink C. @media D. @canvas 15 / 15 15. 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{…} Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin