/en-tutor-prep-s2-term1-ict-html/
/en-tutor-prep-s2-term1-ict-html/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

S2 Term 1 | ICT: HTML Markup | 45-minute flow, teaching script, common errors, practice with answers

S2 Term 1 | ICT: HTML Markup | 45-minute flow, teaching script, common errors, practice with answers

  • 2026-11-30

Lesson prep guide · S2 Term 1 ICT

Students can write a line or two of HTML but leave tags unclosed, nest them wrongly, and cannot separate head from body. One document tree makes pairing, nesting and outside-in order concrete.

Lesson objectives Students can (1) write the four-part skeleton, doctype, html, head and body, with the purpose of each; (2) judge nesting, li inside ul, one h1 per page, no block element inside p; (3) check a page with tag pairs and table cells, 17 pairs and 12 cells here.

01 Prior knowledge check (first 3 minutes)

If any item below fails, fix it first, or this lesson stalls:

Skill Quick check Pass standard
Pairs What must happen to an opening bracket? It must be closed
Levels How many heading levels are there, h1 to h6? 6
Multiplication How many cells in a 4 by 3 table? 12

02 Lesson flow (45 minutes)

Time Stage Tutor does Student does
0–5 min Opening diagnostic Give HTML with a missing closing tag and ask why the page broke Most say a typo, missing the unclosed tag
5–14 min Four-part skeleton Read the top of the figure, doctype, html, head, body Write the skeleton and mark which part is for the browser
14–26 min Pairs and nesting Show one pair opening and closing, then li inside ul and no div in p Fix a wrongly nested snippet and circle the parent
26–36 min Elements and attributes Six heading levels, alt, href with its text Write an alt for two images
36–41 min How to check Two checkpoints: 17 tag pairs and 12 table cells Count the pairs on their own page
41–45 min Exit check Collect three answers and note skeleton, nesting or attribute errors Work without notes

03 Teaching script (read it aloud)

Act one: the four-part skeleton

Every page starts with four parts. The doctype tells the browser which standard to use; html is the outermost container; head holds information for the browser, such as the character set, the title and links to stylesheets; body holds what the reader sees. The title in head is not the page heading but the text on the browser tab, while the page heading is the h1 inside body. Students routinely treat title as h1, and these are two different things.

Students restate: head for the browser, body for the reader; title is not h1.

Act two: pairs, nesting, outside in

Most common misconception: assuming the browser will mend a forgotten closing tag, or putting a div inside a p. Browsers do try to repair the tree, but the repair is often not the structure you meant, and wrong nesting breaks CSS later.

Three rules: every opening tag closes, so the count of tags is always even; the last opened closes first, like brackets, so nesting never crosses; a parent contains its children, so the parent of li is ul and the parent of td is tr. The sample page has 17 pairs and is 5 levels deep, so counting shows whether anything is missing.

Students restate: paired, last opened closes first, parent contains child; li sits in ul.

Act three: elements, attributes, readability

Elements carry meaning: h1 to h6 are 6 levels and a page uses one h1, because it states the subject; p is a paragraph, ul an unordered list, li one item. Attributes sit in the opening tag: href on a link, src on an image, alt for its alternative text. Alt is not decoration: when an image fails or a screen reader is used, alt is the only description. Tables are counted: 4 rows by 3 columns is 12 cells, and one cell short means one td was left out.

Students restate: elements carry meaning, attributes carry detail; one h1, and images need alt.

04 Question types and steps

Type Example Steps Answer
Skeleton Four parts Fill outside in with the purpose of each doctype, html, head, body
Nesting li and ul, p and div Check the parent contains the child li in ul is right; div in p is wrong
Tag count 17 pairs Opening tags must equal closing tags 17 pairs, that is 34 tags
Cell count 4 rows by 3 columns Rows times columns 12 cells
An HTML document is a tree: nested, paired, outside inhtmlrootheadmeta infobodycontenttitlepage titlemetacharsetheaderlogo, navmainh1, p, ulh1one per pageullistlithree items<html> opens, </html> closes: a pair, at every level

html is the outermost element, holding head for the browser and body for the reader. Inside body sit header and main, inside main h1, p and ul, and inside ul the li items. Every level opens and closes, so the number of tags is always even; the tree is five levels deep, and a student should be able to say that the parent of li is ul.

Sanity check (must teach):17 pairs means 34 tags, always even; the tree is 5 levels deep; 4 times 3 is 12 cells. All three checks are countable by eye, so nothing has to be guessed.

05 Three independent practice questions

Question Answer What to observe
Write the four-part skeleton and explain head against body. doctype, html, head, body; head holds the encoding, title and stylesheet links, body holds visible content All four needed; treating title as h1 is a concept error
Which nesting is right: ul inside li, or li inside ul, and why? li inside ul, because ul is the list container and li one item Reversed means the parent is not understood
How many td cells does a 4 by 3 table need, and how many h1 per page? 12 cells and one h1 A wrong cell count means a missing td

06 Common errors and correction lines

Error Student usually writes Tutor says
Unclosed tag “I opened a p and never closed it, but the page looked fine” “The browser repairs it, often in the wrong place; pairing is a rule, not a suggestion.”
Crossed nesting “ul open, li open, ul close, li close” “Last opened closes first: close li before ul, or the nesting crosses.”
Title as heading “The title is the page heading” “Title sits in head and appears on the tab; the page heading is the h1 in body.”
Many h1 tags “I use an h1 for every emphasis” “One h1 per page, then h2 to h6, 6 levels in all.”

07 Homework (paper and question numbers)

08 Exit check (last 3 minutes)

Question Answer Verdict
Four parts of the skeleton? doctype, html, head, body A missing head means act one is retaught
What is the parent of li? ul, the list container Saying body means nesting is not understood
How many h1 per page? One Several means the meaning layer is missing

09 Tutor FAQ

Which year group is this page for?

S2 Term 1 ICT web structure; S1 can take the skeleton and pairing, S3 can add semantic tags and accessibility.

Can 45 minutes cover skeleton, nesting and attributes?

Yes. Skeleton and nesting take 21 minutes, 47 per cent; elements and attributes 10, checking 5, the exit check 4.

Is there a paper to set as homework?

Yes. Questions 9, 10 and 11 of part three of the S2 ICT paper, all with answers.

Find a tutor freeTutor sign-up →

©2026 TutorZone · www.tutorzone.com.hk · Terms of use · All rights reserved. Original TutorZone material for personal study and teaching only; not for resale or republication.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →