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]
(a) When the designer changes the font colour in the external stylesheet:
(b) Comparison of external stylesheet versus inline styles for a 50-page website:
| External stylesheet | Inline styles | |
|---|---|---|
| Efficiency | The 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] |
| Consistency | All 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] |
Everything you need to excel in your exams