S2 Term 1 | ICT: Hyperlinks and Paths | 45-minute flow, teaching script, common errors, practice with answers
- 2026-11-30
Lesson prep guide · S2 Term 1 ICT
Links that work on the author machine and fail elsewhere are usually a path problem, not a typo: the same file needs different paths from different pages. One folder tree settles the three ways.
01 Prior knowledge check (first 3 minutes)
If any item below fails, fix it first, or this lesson stalls:
| Skill | Quick check | Pass standard |
|---|---|---|
| Folders | Does a file sit inside a folder, or the folder inside the file? | File inside folder |
| Paths | Does ../../ go up one level or two? | Two |
| Addresses | What does https:// at the start of an address mean? | An encrypted connection |
02 Lesson flow (45 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0–4 min | Opening diagnostic | Show a broken link and ask why it works only for the author | Most blame the network, not the path |
| 4–14 min | Two kinds of path | Read the folder tree: relative from the current file, absolute from the root | Write three paths to the same file |
| 14–26 min | Two parts of a link | Show href with text, a full https address, and a fragment | Write three complete anchors |
| 26–37 min | External links and new windows | Full address, target=”_blank”, rel and the trade-off | Write an external link that opens a new window |
| 37–41 min | Checking | Three checks: it opens, the text names the target, https on external links | Check three links on their own page |
| 41–45 min | Exit check | Collect three answers and note path, part or attribute errors | Work without notes |
03 Teaching script (read it aloud)
Act one: relative and absolute
Students restate: relative starts at the current file, absolute at the root; three ways to one file.
Act two: the two parts of a link
A link has 2 parts: href names the target, and the anchor text is what the reader sees. “Click here” carries no information; “S2 ICT notes” tells both the reader and the search engine where the link goes. A fragment adds a hash: href=”#section-2″ jumps to the second section of the same page. An external link needs the full address including https://, or the browser treats it as a folder on your own site.
Students restate: href names the target, the text names the destination; external links need the full address.
Act three: new windows and safety
Students restate: target for a new window, rel for safety; check destination, text, https.
04 Question types and steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| Path judgement | A folder tree and three starting points | Count levels from the current file | notes.html, ict/notes.html, /s2/ict/notes.html |
| Writing a link | An internal notes page | href plus readable text | href=”notes.html” with “S2 ICT notes” |
| Fragment | Section two of the same page | hash plus id | href=”#section-2″ |
| External link | Hong Kong Observatory | Full address including https | href=”https://www.hko.gov.hk/” |
A relative path starts from the location of the current file, so the same notes.html needs a different path on different pages; an absolute path starts at the site root and is always /s2/ict/notes.html. A fragment adds #section to reach part of a page, and an external link needs the full address including https://. Students paste local file paths and wonder why every visitor meets a dead link.
05 Three independent practice questions
| Question | Answer | What to observe |
|---|---|---|
| The file is s2/ict/notes.html. From s2/ict/index.html, what is the relative path? | notes.html | The absolute path also works, but it is not relative |
| From s2/index.html to the same file, what is the relative path? | ict/notes.html | notes.html alone misses a level |
| Write an external link to the Hong Kong Observatory (https://www.hko.gov.hk/) and say why not “click here”. | Full address in href with the text “Hong Kong Observatory”; “click here” hides the destination | Both the full address and readable text are needed |
06 Common errors and correction lines
| Error | Student usually writes | Tutor says |
|---|---|---|
| Local path | “href=file:///Users/me/notes.html” | “That is a local path; nobody else has that file. Use a relative or absolute site path.” |
| Wrong level | “From s2/index.html I write notes.html” | “One level down: ict/notes.html.” |
| Missing https | “href=www.hko.gov.hk” | “Write https://www.hko.gov.hk/, or the browser looks for a folder on your own site.” |
| Click here | “click here“ | “Use the page name, so readers and search engines know where it leads.” |
07 Homework (paper and question numbers)
- S2 ICT paper, part three, question 10 on the two parts of a link Question 10, the two things a link to the Hong Kong Observatory needs, exactly act two
- S2 ICT paper, part three, question 9 on head and body Question 9, head against body, a reminder that links live in the visible body
- S2 ICT paper, part three, question 12 on alternative text Question 12, two benefits of alt text, the same discipline of text that describes content
08 Exit check (last 3 minutes)
| Question | Answer | Verdict |
|---|---|---|
| Where does each kind of path start? | Relative at the current file, absolute at the site root | “They are the same” means act one is retaught |
| Two parts of a link? | href and readable text | Only href means act two is retaught |
| What do external links need? | The full address with https, plus target and rel for a new window | Copying the domain alone is not enough |
09 Tutor FAQ
Which year group is this page for?
S2 Term 1 ICT web section; S1 can take same-folder and one-level paths, S3 can add SEO and accessible link text.
Can 45 minutes cover paths, parts and attributes?
Yes. Paths and the two parts take 22 minutes, 49 per cent; new windows 11, checking 4, the exit check 4.
Is there a paper to set as homework?
Yes. Questions 9, 10 and 12 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.



