Learning intentions
- I can open VS Code and create a new HTML file.
- I can write the basic HTML document structure from memory.
- I can preview my HTML file live in Chrome using Live Server.
Success criteria
- My file has a valid DOCTYPE, html, head, body structure.
- My file has a
<title>I chose, not 'Document'. - My page displays my name as an
<h1>and one paragraph about me.
Do Now · 5 min
A Word document and a webpage look similar on screen. But they are built differently. What do you think is different about how they are stored on a computer?
A Word document is a _____________ file.
A webpage is a _____________ file.
Hint: try opening both with the "open as text" option and see what happens.
I Do · ~10 min Teacher demonstration
Teacher demonstrates, live in VS Code:
- Open VS Code
- File → Open Folder → create
Y10-MULTI-T2in OneDrive - File → New File → save as
hello.html - Type
!then press Tab — Emmet expands to a full HTML starter - Right-click → "Open with Live Server"
- Type inside
<body>, save, watch the browser refresh
Starting HTML (what ! Tab expands to):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>
<title>Document</title> to something real. That Document default is the #1 giveaway that someone rushed.
Alternative — GitHub Codespaces (no installation required)
If you can't install VS Code on your school device, GitHub Codespaces gives you VS Code running in your browser. Everything we do in VS Code also works in Codespaces. The only difference: your files live on GitHub, so you're also learning the publishing workflow for free.
For Support-tier students: Codespaces is the recommended path. You won't need to install anything; your teacher will help you set up GitHub.
We Do · ~15 min Guided build
Add these lines together inside <body>:
<h1>Hello, I am [your name]</h1>
<p>This is my first real webpage. I am a Year 10 student at Arthur Phillip High School.</p>
<p>I am learning HTML in my Multimedia class.</p>
Save with Ctrl+S. Watch Chrome refresh automatically. If it does not refresh, check Live Server is running (bottom right of VS Code should say "Port: 5500").
You Do · ~35 min Independent practice
Build your own hello.html page. Requirements:
- A meaningful title (something like "Yunshu's First Webpage")
- An
<h1>with your name - Two paragraphs about you — your year, your hobbies, what you want to build this term
- Take a screenshot of the browser showing your rendered page
- Save the HTML file and the screenshot to OneDrive
When you finish: open the exemplar first-page.html and view source (right-click → View Page Source).
Differentiation
Support
Teacher or paired peer opens VS Code and creates the file together. A pre-written starter file is available at exemplars/02-first-page.html — copy the structure and replace content only.
Core
Complete the task independently.
Extension
Add a third HTML tag you research on MDN (examples: blockquote, mark, small, time). Explain in a comment what your new tag does and when to use it.
Exit Ticket · 5 min
Exit ticket
1. Which goes inside the head and which inside the body?
a) <title> — head / body b) <h1> — head / body c) <meta> — head / body d) <p> — head / body
2. What does DOCTYPE do?
____________________________________________________
3. Paste the URL of your saved OneDrive file or attach your screenshot to Google Classroom.
Resources for this lesson
📚 Deeper Reading
External references drawn from Shay Howe's "Learn to Code HTML & CSS" and University of Michigan's "Web Design for Everybody" Coursera specialization. All credit to original authors.
- Shay Howe · Ch 1 (Setting Up the HTML Document Structure)
Full HTML5 boilerplate walkthrough. - UMich · M1 L3: Editors — How to Use VS Code
6-min video matching what we cover. Also introduces GitHub Codespaces as an alternative. - UMich · M1 L3: Introduction to IDEs and GitHub Codespaces
6-min video on cloud-based editors — useful for students who can't install software.