Lesson 4: Linking Tags
(Linking to Local Files)

The simplest type of link is a link to an HTML file within the same Web site or directory. In this example, notice that only the word "View" is clickable. It will start out blue, briefly turn red while you click it, and turn purple after you visit the linked site.

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

<body bgcolor="#bdbdbd" text="black" link="blue" vlink="purple">
<b>
<br />
<center>
<a href="colorpalette.htm">View</a> the HTML color palette.
</center>
</b>
</body>
</html>