| Lesson Plan |
| Grade: |
Date: 01/12/2025 |
| Subject: Information Communication Technology ICT |
| Lesson Topic: Be able to create a bookmark within a web page using an id attribute |
Learning Objective/s:
- Describe the purpose of bookmarks (internal links) on a web page.
- Identify where to place a unique
id attribute for a target section.
- Construct an internal hyperlink using the hash (
#) syntax.
- Test and troubleshoot bookmark functionality, ensuring unique IDs and correct syntax.
|
Materials Needed:
- Computer with internet access
- Text editor or IDE (e.g., VS Code)
- Projector and screen
- Sample HTML files
- Printed worksheet with the practice activity
- Web browser for testing
|
Introduction:
Begin by asking students how they navigate long web pages, such as tables of contents, and link this to the concept of bookmarks. Recall the previous lesson on anchor tags and the href attribute. Explain that today they will learn to create internal links using the id attribute and will demonstrate a functional bookmark by the end of the lesson.
|
Lesson Structure:
- Do‑Now (5'): Students list ways they currently jump to sections on a webpage; share answers. (Engage)
- Mini‑lecture (10'): Explain
id rules, hash link syntax, and common mistakes; show example code on the projector. (Explain)
- Guided coding (15'): Open a starter HTML file, add
id attributes to headings, and create a table of contents with internal links, following teacher prompts. (Apply)
- Pair testing (10'): Swap computers, click each link to verify scrolling, and troubleshoot using the checklist. (Check)
- Independent practice (15'): Complete the “My Favourite Recipes” activity, creating a bookmark page from scratch. (Create)
- Quick recap quiz (5'): Exit ticket – write the correct
href for a link to an element with id="summary". (Assess)
|
Conclusion:
Recap that bookmarks rely on unique id attributes and hash‑based href values to navigate within a page. Invite a few students to share one mistake they corrected during the activity. Collect exit tickets and assign homework to add a bookmark section to their existing website project.
|