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

S2 ICT: Web page design with HTML and CSS, Paper 2 (10 advanced items)

S2 ICT: Web page design with HTML and CSS, Paper 2 (10 advanced items)

  • 2026-11-17

S2 ICT: Web page design with HTML and CSS, Paper 2 (10 advanced items)

Paper 2 covers document structure, external stylesheets, percentage widths and colour channels.

External stylesheets are easier to maintain One shared css file updates the whole site, which beats editing inline styles page by page.

01 Paper details (check answers afterwards)

Item Detail
Questions 10
Suggested time 25
Difficulty mix Foundation 3 · Intermediate 3 · Challenge 3 · Error redo 1
Chapter Chapter: S2 ICT: Web page design with HTML and CSS
Level Advanced

02 Questions (10 items)

  1. FoundationWhich three parts must a basic HTML document contain?
  2. FoundationWhere does the content of the title tag appear?
  3. FoundationWhich tag links an external CSS file?
  4. IntermediateA container is 900px wide and its width is set to 60 percent. How wide is it in px?
  5. IntermediateWhat is the green channel value in the colour code #00FF00?
  6. IntermediateAn HTML file is 2.5 KB. Using 1 KB equals 1024 bytes, how many bytes is it?
  7. ChallengeWhich elements does the selector ul li match?
  8. ChallengeA page has 12 paragraphs with 30 characters each. How many characters in total?
  9. ChallengeCommon error: where should an inline style be written?
  10. Error redoCommon error: what do color and background-color control?

03 Answers and one-line notes

# Answer One-line note
1 The html root element, the head section and the body section. The head holds setup information while the body holds visible content.
2 In the browser tab or window title bar. The title text is not shown in the page body, only in the tab label.
3 The link tag with rel set to stylesheet and href pointing at the file. The link tag sits in the head and needs rel and href attributes.
4 540px. Multiply the percentage by the parent width: 900 times 0.6 gives 540.
5 255. The middle two digits are the green channel, and FF equals 255.
6 2560 bytes. 2.5 times 1024 gives 2560; capacity uses 1024, not 1000.
7 Every li that sits inside a ul, which is a descendant selector. A space between selectors means descendant, so all li inside ul are matched.
8 360 characters. 12 times 30 gives 360, the number of paragraphs times characters per paragraph.
9 Inside the opening tag of the element, using a style attribute. An inline style affects one element only; external sheets are linked in the head.
10 color sets the text colour and background-color sets the background colour. The two names look alike but one paints text and the other paints the background.

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.

Finish the basic paper first, then try this one within ten minutes and mark it item by item.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 →