The Web

When you visit a web address;

  • The browser through the URL (Universal Resource Locator) sends a request message to a web server to provide or retrieve resource stored at the given web address or URL. It could be a home page of a given website.
  • The transfer occurs via HTTP(S) – which is a language the client and the server use to communicate.


Hypertext Transfer Protocol – Secure

  • Let’s look at what happens when requesting for a web page as a resource via a URL.

HTML Page Request

  • Once the browser or the client sends an HTML page request to the server, it constructs what we call a DOM from the server response sent via HTTPS – resulting into a web page – which is a collection of HTML Elements that might contain content such as images, text, links and so on. You will see this in action later.
  • The Document Object Model (DOM) is the data representation of the objects that comprise the structure and content of a document on the web. You do not need to worry about this at all at this time.
  • And if a page contains other resources such as images and fonts – each have an address or a URL – the browser sends parallel requests via HTTPs to fetch the resources. When all resources are fetched, renders(displays) the web page.
  • With this introduction on how the web works, we can  now dive into HTML, CSS and JS.
Scroll to Top