Loading....

Information and Communication Technology 0417 | Paper 1 Mock 01 | Theory

Question 1 Report

A company has a website with 50 web pages. The web designer uses a single external stylesheet to format all pages.

(a) Describe what happens when the designer changes the font colour in the external stylesheet. [2]

(b) Compare using an external stylesheet with using inline styles for managing a 50-page website. [4]

Answer Details

(a) When the designer changes the font colour in the external stylesheet:

  1. The change is made in one place only, the single external CSS file. [1]
  2. All 50 web pages that link to that stylesheet are automatically updated to display the new font colour the next time they are loaded, without any individual page edits. [1]

(b) Comparison of external stylesheet versus inline styles for a 50-page website:

External stylesheetInline styles
EfficiencyThe designer only needs to edit one CSS file to change the appearance of all 50 pages, saving significant time and effort. [1]The designer would need to find and manually edit the style code within each of the 50 individual HTML pages, which is extremely time-consuming. [1]
ConsistencyAll pages are guaranteed to look identical because they all reference the same set of style definitions. [1]There is a high chance of inconsistencies or errors creeping in across 50 pages, as each page's styles are maintained independently and may diverge over time. [1]
1
2
3
4
5
6
7
8
9
10
11
12
13
14