All subjects · Information Technology · WIT11 2 hour written exam on IT systems, networks and data
Static and dynamic web content, client-side and server-side scripting
Edexcel IAL Information Technology · WIT11 2 hour written exam on IT systems, networks and data
Spec points 3.1.3 to 3.1.5: the difference between static and dynamic web page content, and the roles of client-side and server-side scripting. Unit 2 (WIT12) has you building pages with JavaScript, so this links straight to it.
Static and dynamic content
- Static content is the same for every visitor every time until someone edits the file: fixed HTML pages, images, a company's 'About us' page. Fast and simple to host, but must be edited by hand to change.
- Dynamic content is generated or changed when the page is requested or while it is viewed: search results, a shopping basket, a news feed, personalised recommendations, live scores, a scrolling marquee or animated element that changes on screen. Usually draws on a database and scripts. Up to date and personalised, but more complex, needs more server resources and is more open to attack.
(In June 2025 candidates were asked to recognise a marquee as dynamic, not static, content.)
Client-side scripting
Client-side scripts (usually JavaScript) are sent with the page and run in the user's browser.
Roles: validating form input before it is sent (for example checking an email field has an @), interactive menus and animations, updating part of a page without reloading, responding instantly to clicks.
Benefits: fast response, reduces load on the server and network traffic. Drawbacks: the user can see and change the code or disable scripts, so it cannot be trusted for security; behaviour may differ between browsers.
Server-side scripting
Server-side scripts (for example PHP, Python, server-side JavaScript) run on the web server before the page is sent.
Roles: querying and updating databases (log-ins, orders, stock), generating personalised pages, processing payments, final validation of data, keeping business logic and passwords secret.
Benefits: code is hidden from users so it is more secure; works with any browser; has access to the organisation's data. Drawbacks: every request uses server processing; page must be reloaded or requested again, so heavy traffic needs more powerful servers.
Good practice: validate on the client for speed and on the server for security.
Worked example
An online shop checks that a postcode field is not blank and then checks that the item is in stock. Say where each check should run and why.
- Postcode not blank: client-side JavaScript, so the user gets instant feedback without waiting for the server.
- Repeat the check server-side, because client-side scripts can be bypassed.
- Item in stock: server-side, because the stock levels are in the shop's database on the server.
Answer: Presence check client-side (and server-side); stock check server-side using the database.
Check yourself
- Which is dynamic web content?
- A company logo image
- Search results generated for each query
- A fixed 'Contact us' page
- A PDF of a menu
Show answer
Search results generated for each query. It is generated per request.
- Where does client-side JavaScript run?
- On the web server
- On the DNS server
- On the router
- In the user's web browser
Show answer
In the user's web browser. Client = the user's device.
- Why must a log-in check be done server-side?
- Browsers cannot display passwords
- The password data is held securely on the server and client-side code can be bypassed
- Server-side code runs faster in the browser
- Client-side scripts cannot use forms
Show answer
The password data is held securely on the server and client-side code can be bypassed. Security logic must be hidden from users.
- A heading that scrolls continuously across the screen is an example of
- static content
- a DNS record
- dynamic content
- server hardware
Show answer
dynamic content. It changes on screen; the June 2025 report noted some candidates wrongly called it static.
- Explain one benefit of client-side validation of a form.
Show answer
Errors are found instantly in the browser, so the user gets immediate feedback without waiting for the page to be sent to the server and back.. Speed for the user or less load on the server.
- Which is a benefit of static web pages?
- They personalise content for each user
- They update automatically from a database
- They are simple and fast to serve
- They process online payments
Show answer
They are simple and fast to serve. No processing is needed per request.
Sources
- Pearson Edexcel International Advanced Level in Information Technology specification (2018), Unit 1
- Pearson Edexcel IAL Information Technology WIT11/01 examiner report, June 2025
Last updated 8 November 2026. Spotted a mistake? Tell us.