Dynamic web pages

From Higher Computing Science
Jump to: navigation, search

Key points

  • A static web page is a page that, after it is loaded, will not change its contents. Static web pages should look the same each time they are reloaded.
  • Dynamic web pages are pages that will change contents both when refreshed and after the page is loaded. A dynamic web page must use either a client-side script (like Javascript) or a server-side script (like PHP) to change the contents – HTML itself produces static web pages.
  • Most dynamic web pages load relevant information from a database. The database may store user information, page information, An example of a database-driven website is a web-based email account (like Gmail or Outlook) – the contents of this is loaded from a database and should be different for every person looking at the site!




Further information

Test yourself

Teaching resources