1. What does CSS stand for?
Explanation: CSS stands for Cascading Style Sheet, which is used for styling and formatting web content.
Report for correction2. Which HTML tag is used to include CSS code within an HTML document?
Explanation: The <style> tag is used to include CSS code within an HTML document.
Report for correction3. What is the purpose of CSS in web development?
Explanation: CSS is used to define the styling and layout of a web page, including aspects like colors, fonts, margins, and positioning.
Report for correction4. Which CSS property is used to change the color of text?
Explanation: The "color" property in CSS is used to change the color of text.
Report for correction5. What is the default unit of measurement for CSS property values like width and height?
Explanation: The default unit of measurement for CSS property values like width and height is pixels (px).
Report for correction6. Which CSS property is used for adding space outside the borders of an element?
Explanation: The "margin" property in CSS is used for adding space outside the borders of an element.
Report for correction7. What does the CSS property "font-family" define?
Explanation: The "font-family" property defines the font family for text, specifying the typeface or font to be used.
Report for correction8. Which CSS property is used for changing the background color of an element?
Explanation: The "background-color" property is used for changing the background color of an element.
Report for correction9. What is the purpose of the "float" property in CSS?
Explanation: The "float" property in CSS is used to make an element float to the left or right within its container, allowing other content to flow around it.
Report for correction10. Which CSS property is used to control the spacing between lines of text?
Explanation: The "line-height" property is used to control the spacing between lines of text.
Report for correction11. What is the purpose of the CSS property "text-align"?
Explanation: The "text-align" property is used to control the alignment of text within an element, such as left, center, right, or justify.
Report for correction12. Which CSS property is used to create rounded corners for an element?
Explanation: The "border-radius" property is used to create rounded corners for an element.
Report for correction13. What does the "display" property in CSS control?
Explanation: The "display" property in CSS controls the layout behavior of an element, such as whether it's displayed as a block or inline element.
Report for correction14. Which CSS property is used to specify the order of the elements in a flexible container?
Explanation: The "order" property in CSS is used to specify the order of the elements in a flexible container using flexbox.
Report for correction15. What does the "position" property in CSS control?
Explanation: The "position" property in CSS controls the positioning of an element within its containing element, such as absolute, relative, fixed, or static positioning.
Report for correction16. What is the purpose of the "z-index" property in CSS?
Explanation: The "z-index" property in CSS is used to control the stacking order of elements with respect to the z-axis, determining which elements appear in front of others.
Report for correction17. Which CSS property is used to specify the width of an element as a percentage of its containing element's width?
Explanation: The "width" property in CSS is used to specify the width of an element, and it can be specified as a percentage of its containing element's width.
Report for correction18. What does the "overflow" property in CSS control?
Explanation: The "overflow" property in CSS controls how content that overflows an element's box is handled, such as whether it's hidden, shown with scrollbars, or automatically expanded.
Report for correction19. Which CSS property is used to apply a shadow effect to text or elements?
Explanation: The "text-shadow" property is used to apply a shadow effect to text in CSS.
Report for correction20. What is the purpose of the "transform" property in CSS?
Explanation: The "transform" property in CSS is used to apply transformations like rotation, scaling, and skewing to elements.
Report for correction21. Which CSS property is used to control the opacity (transparency) of an element?
Explanation: The "opacity" property in CSS is used to control the opacity (transparency) of an element.
Report for correction22. What is the purpose of the "transition" property in CSS?
Explanation: The "transition" property in CSS is used to apply a transition effect to properties like color, position, size, and more.
Report for correction23. What does the "border-collapse" property control in CSS?
Explanation: The "border-collapse" property in CSS controls the behavior of table borders when they meet, specifying whether they should collapse into a single border or remain separate.
Report for correction24. Which CSS property is used for setting the font size of text?
Explanation: The "font-size" property in CSS is used for setting the font size of text.
Report for correction25. What does the CSS property "box-sizing" control?
Explanation: The "box-sizing" property in CSS controls the box model for sizing elements, specifying whether padding and borders are included in the element's total size.
Report for correction