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.

Practise this in the app: instant marking and a fix for every mistake. Free, no email needed to start.

Practise this lesson

Static and dynamic content

(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.

  1. Postcode not blank: client-side JavaScript, so the user gets instant feedback without waiting for the server.
  2. Repeat the check server-side, because client-side scripts can be bypassed.
  3. 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.

Key idea: Static: same for everyone until edited. Dynamic: generated or changing per request or on screen. Client-side scripts run in the browser (instant validation, interactivity, but can be bypassed). Server-side scripts run on the server (databases, security, personalisation).

Check yourself

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

Practise with instant feedback

Sources

Last updated 8 November 2026. Spotted a mistake? Tell us.