
Copyright © Rutgers Writing Program
There are several instances where you might want to make images as links. For
example, if you have your navigation set up for your set that a different image
represented a different section of your site, clicking on an image link would take the
user to that section. Or, if you had a smaller version of a large image on your site
(this is called a "thumbnail"), you might want to make that smaller image a link to
the bigger version of that image (doing this would save on loading time for your web
page in a browser). Making images into links has both practical and aesthetic uses in
web design.
Note: When you make an image a link, the default behavior is to indicate that it's a
link by turning on the image's border. To have no border on an image link, enter “0”
in the “Border” text box. Otherwise, enter in any number you want for the border
size.
Linking to Other Media
HTML files are not the only things you can link to. With images, sound files, movie
files, and other kinds of media floating around the web, it's possible to link to items
other than HTML documents!
There are two ways you can have people view things that you link to. They will either
open up in the web browser, or they can "download" the file to their own computer
to open up in a different program (such as audio files; these are generally not
viewed in a web browser, but rather downloaded and played in a separate program
for audio).
Things such as images or even short audio samples can be directly viewed in the
browser. Most visitors to your website will want to do such, anyway. Large files, such
as movie clips or PDF files, the visitor will want to completely download (save) to
their own computer.
Regardless of how you want someone to download or view something, linking to it is
the same. Whatever file you wish to link to, make sure it is in the same directory as
the page you're linking it from (on the server where your website is located; you'll
learn about publishing and uploading files later). Make sure it has an appropriate
Kommentare zu diesen Handbüchern