/en-tutor-prep-s2-term1-ict-markup-languages/
/en-tutor-prep-s2-term1-ict-markup-languages/
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: Markup Languages | 45-minute flow, teaching script, common errors, practice with answers

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

  • 2026-11-30

Lesson prep guide · S2 Term 1 ICT

Students mix markup with programming and assume XML is another version of HTML. Three columns separate HTML, XML and Markdown, and one line separates markup from programming.

Lesson objectives Students can (1) describe the job of three markup languages with one example each; (2) state three differences between markup and programming; (3) give the 2 hard rules of XML and explain why JSON is not markup.

01 Prior knowledge check (first 3 minutes)

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

Skill Quick check Pass standard
Tags What brackets enclose a tag? Angle brackets
HTML recall What is the paragraph tag? p
Sorting Is a spreadsheet file data or a web page? Data

02 Lesson flow (45 minutes)

Time Stage Tutor does Student does
0–5 min Opening diagnostic Ask whether HTML is a programming language and why Most say yes because it has tags
5–14 min Three markup languages Read the three columns: fixed tags, custom tags, light symbols One example each
14–26 min Markup and programming Three differences: no variables, no conditions, no calculation Write one sentence on why HTML cannot total a column
26–36 min XML rules Paired tags and case sensitivity, with a price example Find the errors in two XML snippets
36–41 min Semantic tags The 5 HTML blocks and what they buy: readers, search, maintenance Assign five blocks to one page
41–45 min Exit check Collect three answers and note sorting, difference or rule errors Work without notes

03 Teaching script (read it aloud)

Act one: three markup languages

All three describe structure with symbols, but for different jobs. HTML has a fixed tag set: h1 is a heading and p a paragraph, and together they describe a page. XML lets you define the tags, such as price and currency, to describe any data, which is why several programs can read one XML file. Markdown uses a few symbols for quick documents: a hash for a heading, a dash for a list, brackets for a link; it is the fastest to write and the weakest to express. The common point: all three are markup, not programs.

Students restate: fixed tags, custom tags, light symbols, all markup.

Act two: markup is not programming

Most common misconception: that tags and angle brackets mean programming, or that HTML can hold an if. HTML has no variables, no conditions and no loops, so it will not add a column or show different text for different marks.

Three differences: markup has no variables, so no value can change; no conditions, so no if-then; and no calculation, so one plus one stays text. Interaction and arithmetic need a programming language such as JavaScript, which then changes the HTML. Once that line is clear, writing a page stops being confused with writing a program.

Students restate: markup describes structure; no variables, no conditions, no arithmetic.

Act three: XML rules and semantic tags

XML has two hard rules. Tags must be paired, so an opened price must be closed. Case matters, so Title and title are different tags, and one wrong letter makes the data unreadable. Attribute values must also be quoted. On the HTML side, semantic tags mean naming the five blocks header, nav, main, aside and footer, which buys three things: screen readers understand the page, search engines separate the parts, and redesigns are easier. JSON is often mistaken for markup, but it is a data format of braces and key-value pairs with no tags at all.

Students restate: XML pairs tags and respects case; JSON is data, not markup.

04 Question types and steps

Type Example Steps Answer
Sorting HTML, XML, Markdown, JSON Markup or data format Three markup, JSON data
Markup against programming h1 and if Variables, conditions, calculation h1 markup, if programming
XML rules XML with a missing closing tag Check pairing and case A missing closing tag is an error
Semantic tags 5 HTML blocks Assign by page position header, nav, main, aside, footer
Three markup languages: one idea, three notationsHTMLfixed tags, page structure<h2>Heading</h2>XMLcustom tags, any data<price currency=”HKD”>20</price>Markdownlight symbols, quick notes## Heading – list itemMarkup against programming: markup describes structure and content; programming has variables, conditions, loopsJSON is a data format ({“name”: “Chan”}), not markup: it has no tags.Two hard XML rules: tags must be paired, and case matters, so Title and title differ.

HTML uses a fixed tag set for page structure, XML uses custom tags for any data, and Markdown uses a few symbols for quick documents. All three are markup, not programming: no variables, no conditions, no calculation. JSON is not a markup language but a data interchange format with braces and key-value pairs, and no tags. Students should be able to separate markup from programming and give one example of each.

Sanity check (must teach):Three markup languages, 2 XML rules, 5 semantic blocks and zero JSON tags are all countable. The point most often missed is that JSON is not markup.

05 Three independent practice questions

Question Answer What to observe
Which are markup languages: HTML, JSON, XML, Markdown? HTML, XML and Markdown; JSON is a data format Putting JSON in the markup list is wrong
State three differences between markup and programming. No variables, no conditions, no calculation Saying one has brackets is not specific enough
What is wrong when an element opens as price and closes as Price? The opening and closing tags differ in case, breaking the case rule Saying it is a typo misses the rule

06 Common errors and correction lines

Error Student usually writes Tutor says
HTML as programming “HTML is a programming language because it has tags” “No variables, no conditions, no arithmetic, so it is markup.”
XML as a new HTML “XML is the new version of HTML” “In XML you define the tags to describe data; HTML tags are fixed and describe a page.”
JSON as markup “JSON is a kind of markup language” “JSON is a data format of key-value pairs and has no tags.”
Case ignored “price opens and Price closes, they are the same tag” “XML is case sensitive, so both tags must match exactly.”

07 Homework (paper and question numbers)

08 Exit check (last 3 minutes)

Question Answer Verdict
What does each markup language do? HTML page structure, XML any data, Markdown quick documents HTML alone means act one is retaught
Three differences between markup and programming? No variables, no conditions, no calculation “One has logic” is too vague
Two hard XML rules? Paired tags and case sensitivity Only pairing misses half of act three

09 Tutor FAQ

Which year group is this page for?

S2 Term 1 ICT web and data representation; S1 can compare HTML with Markdown, S3 can add XML in real data exchange.

Can 45 minutes cover three languages and the boundary?

Yes. The three languages and markup against programming take 21 minutes, 47 per cent; XML rules 10, semantic tags 5, the exit check 4.

Is there a paper to set as homework?

Yes. Questions 9, 11 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.

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