The web: content, appearance and behaviour
A page combines content structure, presentation rules and programmed behaviour.
| Layer | Example |
|---|---|
| HTML | This text is a heading. |
| CSS | Make the heading purple. |
| JavaScript | Calculate a result when clicked. |
One worked example
- <h1>Aha</h1>HTML marks a heading.
- h1 { color: purple; }CSS sets its colour.
Watch out: This is a basic division, not a hard boundary. HTML has built-in interactions and JavaScript can change content and styles.
Goal, prerequisites and card origin
What you will learn: Distinguish the basic roles of HTML, CSS and JavaScript.
What you need first: Recognising a web page, a heading and a button.
An original PEAZIT working card. Independent expert review and effectiveness testing have not yet taken place. · v1
Show connections
A page combines content structure, presentation rules and programmed behaviour.