CSS Quiz | Set-1 Read Discuss Courses CSS Quiz | Set-1 Please wait while the activity loads. If this activity does not load, try refreshing your browser. Also, this page requires javascript. Please visit using a browser with javascript enabled. If loading fails, click here to try again Question 1Which of the below is the abbreviation of CSS ?Cascade sheets styleColor and style sheetsCascading style sheetsCoded Style SheetCSS Quiz | Set-1 Discuss itQuestion 1-Explanation: CSS is used for designing the Html content of the webpage The correct full form of CSS is Cascading Style Sheets.Question 2 Which of the following is the correct syntax to add the external stylesheet in CSS? <style src = quiz.css> <style src = "quiz.css"> <stylesheet> quiz.css </stylesheet> <link rel="stylesheet" type="quiz/css" href="quiz.css"> CSS Quiz | Set-1 Discuss itQuestion 2-Explanation: There is a three-way for linking the HTML page to CSS. Out of three-way external CSS <link rel=" stylesheet" type=" quiz/css" href="quiz.css">, Here rel is a relationship for stylesheet and type is CSS under quiz folder and href link to the quiz.css file. Question 3 Which of the below CSS properties is used to change the background color of CSS ? bg color color-background background-color color CSS Quiz | Set-1 Discuss itQuestion 3-Explanation: The background color is a property in CSS that is used to change the background color of an element. The background covers all the sizes of the element. This property helps the text be more readable for the user. Question 4Which of the below CSS class is used to change the text color of CSS ?background-colorcolorcolor-backgroundNone of the aboveCSS Quiz | Set-1 Discuss itQuestion 4-Explanation: The CSS color property is used to set the color of the HTML element. This property is responsible for setting the font color, background color, etc. The color of elements can be defined in many ways like Built-In Color, RGB Format, RGBA Format, etc.Question 5 Which of the below is the correct syntax to put a line over text in CSS? text-decoration: line text-decoration: none text-decoration: overline text-decoration: underline CSS Quiz | Set-1 Discuss itQuestion 5-Explanation: The text-decoration: the overline property is used to sets many kinds of text-decoration. The text-decoration may include many values such as underline, overline, line-through, etc. Question 6 Which below property of CSS is used to set the indentation of the first line in a block of text ? text-indent property text-underlne-property text-decoration none text-overflow property CSS Quiz | Set-1 Discuss itQuestion 6-Explanation: The text-indent property in CSS is used to define the indentation of the first line in each block of text. It also takes negative values. It means if the value is negative then the first line will be indented to the left. Question 7Which of the below CSS properties represent the order of flex items in the grid container ?order float overflowAll of the aboveCSS Quiz | Set-1 Discuss itQuestion 7-Explanation: The order property in CSS which is used responsibly for the order of each flexible item in relation to other items inside the flexible container. If the element is not flexible then item then this property does not exist anymore.Question 8 How do we set the default width of the font in CSS ? font-stretch font-weight text-transform font-variant CSS Quiz | Set-1 Discuss itQuestion 8-Explanation: Font-stretch property in CSS is used to set the text narrower (condensed) or wider (expanded) than the default character width. Question 9 Which element is used to represent the transparency of an element in CSS ? Hover Opacity Transparent Overlay CSS Quiz | Set-1 Discuss itQuestion 9-Explanation: Opacity is the property of an element in CSS that describes the transparency of the element. It can take a value from 0.0 - 1.0 Question 10 Which of the below CSS property is used to add a stroke in the text ? text-stroke text-transform text-decoration None of the above CSS Quiz | Set-1 Discuss itQuestion 10-Explanation: The text-stroke is a CSS property that is used to add a stroke in the text. It is also supported by using WebKit. 12 There are 15 questions to complete. You have completed questions question Your accuracy is Correct Wrong Partial-Credit You have not finished your quiz. If you leave this page, your progress will be lost. Correct Answer You Selected Not Attempted Final Score on Quiz Attempted Questions Correct Attempted Questions Wrong Questions Not Attempted Total Questions on Quiz Question Details Results Date Score Hint Time allowed minutes seconds Time used Answer Choice(s) Selected Question Text All doneNeed more practice!Keep trying!Not bad!Good work!Perfect! Last Updated : 27 Sep, 2023