Recall & Review
beginner
What is inline CSS?
Inline CSS is when you add style directly inside an HTML element using the
style attribute. It affects only that element.Click to reveal answer
beginner
How do you add internal CSS to a webpage?
Internal CSS is added inside a
<style> tag within the <head> section of an HTML document. It styles the whole page.Click to reveal answer
beginner
What is external CSS and why use it?
External CSS is a separate file with
.css extension linked to the HTML using a <link> tag. It helps keep styles organized and reusable across pages.Click to reveal answer
intermediate
Which CSS method has the highest priority when styles conflict: inline, internal, or external?
Inline CSS has the highest priority, then internal CSS, and external CSS has the lowest priority.
Click to reveal answer
beginner
Give a simple example of inline CSS to make a paragraph text red.
Example:
<p style="color: red;">This text is red.</p>Click to reveal answer
Where do you place internal CSS in an HTML document?
✗ Incorrect
Internal CSS goes inside the section within a