More About URLs
In your anchor tag you specify the Uniform Resource Locator, or URL, of the place to which you want to link. The URL describes a file by type and location. It is structured like this:
- FILETYPE describes the file's protocol. For example, a file on a WWW server uses the "http" protocol.
- The backslashes are directory dividers.
- The server is the name of the server on which the file resides.
- The file name is the name of the file, including the pathname if necessary.
For example, "http://www.devx.com/projectcool/allie.html" takes you via the http protocol to the server named www.projectcool.com and the file named allie.html.
There are several types of files. Each type is described by a short word, followed by a colon. These are the most common:
- Hypertext Transfer Protocol. This describes a file on a World Wide Web server.
- File Transfer Protocol. This starts a process of downloading a specified file.
- Mail. This starts a process of opening an email message to the designated recipient.
- Gopher. This describes a file on a Gopher server.
- Wide Area Internet Search. This describes a file on a WAIS server.
- Usenet News Group. This describes a file is on a Usenet News Server.
- Telnet. This opens a text connection to the specified server.