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:
- Look up the address of your local library
- Walk to the library
- Find the right shelf
- Pick up The Hobbit
Now, suppose you want to read a web page, maybe this one:
http://www.gondolin.org.uk/hdiw/web.html.
- Look up the address of the server (
www.gondolin.org.uk) - Connect to the server
- Look in the appropriate directory (
/hdiw) - Copy the page to a file to your computer (
web.html)
| « How Does The Web Work? | Displaying A Web Page » |