Lesson 4: Linking Tags
(Linking to Local Files)

You can create a link to an image file on the same Web site or directory by using the name of the image as the link name. Because, in this case, the image is in a subdirectory, you must include the directory name "images" in the link name.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>View Some Graphics</title>
</head>

<body bgcolor="#bdbdbd" text="black" link="blue" vlink="purple">
<b>
<center>
<a href="images/aquarium.gif">View</a> my virtual fish tank.
<br />
</center>
</b>
</body>
</html>