Since the destination of an href
is a
Uniform Resource Locator, we can have destinations
that aren't web pages.
This href |
Does this |
---|---|
http://www.someplace.com/index.html
|
loads HTML page index.html from
the web server www.someplace.com
|
my_picture.jpg
|
displays the JPG file my_picture.jpg
|
ftp://someplace.com/info.dat
|
starts download of file info.dat
from the ftp server at someplace.com
|
mailto:fred@sompelace.com
|
opens the browser's “new message”
dialog box for email addressed to
fred@someplace.com
This works only if the user
has activated email in the browser.
|
Now, let’s find out how to link to other pages that are on our own site.
<< Good HTML, Bad Design | Index | Links to pages on your site >> |