Download as pdf
Download as pdf
You are on page 1of 12
11:80 2029977 41000 CSS MCQ (Multiple Choice Questions) - Sanfoundry Vv zw CSS MCQ (Multiple Choice Questions) Here are 1000 MCQs on CSS (Chapterwise). 1, What is CSS? a) CSS isa style sheet language b) CSS is designed to separate the presentation and content, including layout, colors, and fonts ©) CSS is the language used to style the HTML documents d) All of the mentioned A View Answer Answer: d Explanation: CSS is a style sheet language that stands for Cascading Style Sheet and is used to style HTML documents. CSS is mainly designed to separate the presentation and content, including layout, colors, and fonts. 2. Which of the following tag is used to embed css in htm| page? a) b) ©) is used to embed JS in HTML. is HTMLS declaration. 3. Which of the following CSS selectors are used to specify a group of elements? a) tag byid ) class — hitps:lwwn sanfoundry.com1000-css-questions-answersicss-chapters wr 11:50 2029977 41000 CSS MCQ (Multiple Choice Questions) - Sanfoundry answer: ¢ Explanation: Class selectors are used to specify a group of elements. Id selector specifies a particular unique element. 4, Which of the following has introduced text, list, box, margin, border, color, and background properties? a) HTML b) PHP c) CSS. 4) Ajax A View Answer Answer: c Explanation: CSS is a style sheet language that stands for Cascading Style Sheet. CSS has introduced text, list, box, margin, border, color, and background properties. 5. Which of the following CSS framework is used to create a responsive design? a) django b) rails ©) larawell d) bootstrap ft View Answer Answer: d Explanation: Bootstrap is a free and open-source collection of tools for creating websites and web applications. It contains HTML- and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions. It aims to ease the development of dynamic websites and web applications. advertisement hitps:lwwn-sanfoundry.com1000-css-questions-answerstcss-chapters an7 + 14:80 20307 1000 CSS MCQ (Mulile Choice Questions) - Sanfoundry GsWhich of the following CSS selector is used to specify a rule to bind a particular unique element? a) tag b)id Oclass d) both class and tag A View Answer Answer: b Explanation: For binding a particular unique element, id selectors are used. While for a group of elements, class selector can be used. 7. Which of the following type of HTML tag is used to define an internal style sheet? a)