Other Link Types

Use various forms of URLs to link to different kinds of resources on the Internet.


You can link to other resources on the Internet besides HTML documents.

The general philosophy is if it's out there, you can construct an URL to point at it.

mailto

The most basic form on "interaction" available on the Web is the simple inclusion of information about e-mail. In some cases, just listing an e-mail address is better than nothing. However, it is more common to go a step further and create a link to an e-mail address. There is a special type of link that you can use which treats an e-mail address as a URL. This makes it easy for a reader to send electronic mail to a specific person or mail alias. This will create a mail window that is already configured for the specified alias. It includes an anchor, HREF with a mailto: with address, clickable text, and a close anchor. The following is the basic format of the HTML code: <A HREF="mailto:name@address.edu">Name</A>

For example:

<A HREF="mailto:mehopper@world.com">mehopper@world.com</A>

Create a "mailto" link of your own and add it to your standard footer.
Use it in all of your pages that you create.

See Advanced Mailto Link Castro p. 281 (alt. p. 313)
 

Other Types of URLS

Specific methods also exist for ftp, gopher, news, and WAIS servers,and telnet sessions.
Browsers will take different actions depending on the type of resource accessed.

The URL has several parts, not all of which are required.

In order of appearance, they specify...

The parts above are separated by various symbols and the whole is enclosed in quotes:

"scheme://hostserver.domain:port/path/file#anchor"

The port number is sort of like the telephone extension number of the server.
Most URLs you find do not include a port number since most servers use the defaults.
The port number can generally be omitted.

Scheme can be any one of the following:

Experiment with creating links to resources using these special types of URLs.
(Pay particular attention to trying to link to non-HTML documents on your drive,
FTP files on other servers --which take some effort to find -- and also a telnet session.)

See Other URLs Castro pp. 27-28 (alt. pp. 27-29)
See Advanced Links Castro pp. 114-117 (alt. pp. 124, 125)
See Links--changing status label Castro p. 280 (alt. p. 303)


Lesley ECOMP 6009   © 1999 Mary Hopper mehopper@world.comUpdated 12/01/99