October 22, 2011

Understanding URL

You need to understand first what URL is before you can create a link. URL stands for uniform resource locator. It has several parts: the protocol; the domain name; the directory or folder; and the filename and its extension. Below is an example of URL and the corresponding parts.


The first part of URL is called protocol, in the url above the protocol being used is the http protocol which enables the web browsing. HTTP protocol allows the computers in the world wide web to talk to each other. It provides a set of instructions for precise information exchange.
The domain name is the second part of URL. It is a text name that corresponds to the IP address of the server that serves the web site. Text name is easier to remember that is why domain name is used instead of the IP address. In our example the domain name is www.mnhs.com. There are domain names that ends with .com (for commercial), .edu (for education), .org (for organization), .info (for information), com.ph (for Philippines), co.jp (for Japan) and many more.
Another part of the URL identifies the directory name or the folder name. It is the actual location of the file you want to access. When creating links make sure that the directory exists and contains the file you want to link to. In the given example the name of the directory or folder is webpages. A directory may consist of one or more sub directories.
The last part of the URL is the file name: about.html. In creating links, make sure that the file exists and make sure to use the appropriate file extension (such as .htm, .html, etc.).

2 comments:

domina said...

I liked the way you have put up the post..I am hoping for more posts from you..

Register website domain

Aileen said...

Clear and concise explanation. That's a good way of detailing about URL.