/en-tutor-prep-s2-ict-html-web-page-basics-practice-2/
/en-tutor-prep-s2-ict-html-web-page-basics-practice-2/
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

Paper 2: Attributes, lists and tables

Paper 2: Attributes, lists and tables

  • 2026-11-21

Paper 2: Attributes, lists and tables

Chapter practice with ten items, answers and a one-line note for each, about 25 minutes.

Paper 2 Ten items on this chapter with answers for immediate marking.

01 Paper details (check answers afterwards)

Item Detail
Questions 10
Suggested time 25
Difficulty mix Foundation 4 · Intermediate 2 · Challenge 2 · Error redo 2
Chapter Chapter: S2 ICT: HTML web page basics
Level Advanced

02 Questions (10 items)

  1. FoundationWhy quote attribute values, and what is risky about writing src=cat.jpg?
  2. FoundationWhat is the difference between ol and ul?
  3. FoundationA table has 3 rows with 4 cells each: how many td elements in total?
  4. FoundationWhat is the correct way to write an HTML comment?
  5. IntermediateWhat is the difference between strong and b?
  6. IntermediateWhat are the decimal red, green and blue values of the colour #1E4E8C?
  7. ChallengeA 800 by 600 full-colour image at 3 bytes per pixel is uncompressed: how many bytes, and about how many MiB?
  8. ChallengeFrom pages/about.html, how should you link to contact.html in the same folder?
  9. Error redoWhat does target set to blank do on a link?
  10. Error redoWhat happens if a page is saved as index.txt and opened in a browser?

03 Answers and one-line notes

# Answer One-line note
1 A space or special character would cut the value short, so always write src=”cat.jpg”. Quoting is the safe habit; single quotes also work as long as you stay consistent.
2 ol is ordered and numbers itself 1, 2, 3; ul is unordered and shows bullets. Use ol for steps or rankings and ul for plain lists of points.
3 3 x 4 equals 12 td elements. tr is a row and td a cell, so the total is rows times cells per row.
4 An opening angle bracket, exclamation mark, two hyphens, the text, then two hyphens and a closing bracket. Comments never show on the page; they remind you or your teammates.
5 strong marks content as important with meaning that screen readers stress, while b only looks bold. Prefer CSS for looks alone and use strong when the emphasis is real.
6 Red 30, green 78 and blue 140. Each pair of hex digits is one channel, so the three pairs give 30, 78 and 140.
7 800 x 600 x 3 equals 1440000 bytes, about 1.37 MiB. One MiB is 1 048 576 bytes, so 1440000 bytes is about 1.37 MiB.
8 Use the relative path contact.html instead of a full web address. Relative links survive a domain change or a local test, which full addresses do not.
9 It opens the link in a new tab or window. It is common for external sites so visitors keep your page open.
10 It shows as plain text and none of the tags take effect. The browser decides by file extension, so save as .html instead.

04 What to do after marking

  • After marking, redo only the wrong items and write down which step went wrong (formula, unit, or misread number).
  • Repeat the same item two days later; move to the next paper only when both attempts are correct.
  • Parents only need the answer and note columns; there is no need to explain every item.

Want the whole chapter? See all four difficulty papers on the chapter page.Tutor Registration →

Questions and answers are written originally by the TutorZone team and are not taken from any school, publisher or examination authority paper. Every value is checked by computer.

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