|
Linking and Navigating
Linking to another page in YOUR site
You will use the same tag to link to a page in your site. But this time, when you access your file, you just put the name of the HTML file. For example, suppose from your home page (whose file name is home.htm) you wanted to link to another page (whose file name is space.htm). The HTML code will look like this:
<a href="space.htm">Space</a>
Notice that you do not put http://www.
Linking with a button
Now suppose you want to link to another page or site with a button. Again the tag is the same, but this time you use an image tag for the button you are linking. For example, suppose you link the to the Girlstart website using the same button (whose file name is playorg.jpg) you see on your menu bar. The HTML code will look like:
<a href="http://www.girlstart.org"><img src="playorg.jpg"></a>
In your browser you would have:
Try it out!
|