Demo webpages for Web Security
This directory contains toy examples of web pages to illustrate some
features of the web -- or, more specifically, of HTTP,
HTML
and URLs.
They are all bare-bones examples with just a few lines of
HTML to keep things as simple as possible and make the
fundamental concepts clear. For simplicity the web pages do
not use CSS, which is the proper way to control the layput
of webpages, but they rely on more basic HTML-tags for
e.g. colouring.
Web pages that include JavaScript are also called web apps.
Usually these make use of large JavaScript libraries (aka
JavaScript frameworks) and interact with some server-side
application, but the demo pages here only involve
client-side functionality.
Demos for lecture 1:
- demo_get_post.html
is a page with GET and POST requests to inspect in the
browser or using a proxy.
- demo_javascript.html
is a page with some simple JavaScript that uses the DOM API.
- demo_DOM.html
is a JavaScript demo that shows some more features of the DOM.