Inline, internal and external CSS
Adds an external CSS file. Inline uses style=, internal uses <style>, but only this external link lets many pages share one stylesheet and fully separates presentation from structure.
Understanding Inline, internal and external CSS in ACARA Digital Technologies Years 9–10
What it does: A style element in the head holds CSS rules for that one page. It is internal CSS because the rules are inside the HTML file. The style attribute puts the styling inside the h1 tag. The look and the structure end up in the same place, so changing the look means editing every tag. Inline styles mix how something looks into the structure of the page. This makes changes slow because you must edit each tag.
Common mistakes: A link element finds the external CSS file with the href attribute, not src. It should be href="style.css">. An internal stylesheet must be closed with a closing tag. Line 4 should be </style>, not a second opening <style>.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 155–225) and word search (Modules 116–225).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
<link rel="stylesheet" href="style.css">Fill in the Blanks
Spot the Error
Student with a class code? Join your class →