Recall & Review
beginner Click to reveal answer
What does CSS stand for?
CSS stands for Cascading Style Sheets. It is used to style and layout web pages.
beginner Click to reveal answer
What is the main purpose of CSS in web development?
CSS controls how HTML elements look on the screen, including colors, fonts, spacing, and layout.
beginner Click to reveal answer
How does CSS separate content from design?
HTML provides the content and structure, while CSS handles the visual style, making it easier to change design without touching content.
beginner Click to reveal answer
What is a CSS rule made of?
A CSS rule has a selector (which HTML elements to style) and a declaration block (style properties and values).
intermediate Click to reveal answer
Why is CSS called 'Cascading' Style Sheets?
Because styles can come from different places and 'cascade' down, with rules deciding which style wins if there are conflicts.
What does CSS control on a webpage?
✗ Incorrect
CSS controls the visual appearance and layout of HTML elements on a webpage.
Which of these is a valid CSS selector?
✗ Incorrect
The selector 'p' targets all paragraph elements. '#p' would target an element with id='p', and '.html' targets elements with class='html'. '
' is HTML syntax, not a CSS selector.
Where is CSS usually written?
✗ Incorrect
CSS is written inside
