[an error occurred while processing this directive]

Fetching A Web Page

Before you can read a book, you need to pick it up. Similarly, before you can read a web page, you have to fetch it from the Internet. So, how do we go about fetching a web page to read? Well, guess what? It's just like the real world.

Suppose you want to read The Hobbit. You might do something like this:

  1. Look up the address of your local library
  2. Walk to the library
  3. Find the right shelf
  4. Pick up The Hobbit

Now, suppose you want to read a web page, maybe this one: http://www.gondolin.org.uk/hdiw/web.html.

  1. Look up the address of the server (www.gondolin.org.uk)
  2. Connect to the server
  3. Look in the appropriate directory (/hdiw)
  4. Copy the page to a file to your computer (web.html)
« How Does The Web Work? Displaying A Web Page »