Home

Gallery

Events

News

Fun Links

About Us

Thursday, March 8, 2012

Linking Other Pages

Linking Pages
If you click on this link right now, your browser will simply display this page again. If you click on the link from the first example, you will end up at our home page. Great isn't it? Now, if you want to link to your own pages from your home page, just type in the address for your page inside the link tag. This will work for any page because we are using the absolute url, which means we are using the complete address to every page we are creating a link to. If you have all of your files in the same directory, you may use a shortcut called a "local url". Before you try this, be certain any file you want to create a local url link to is in the same directory as the page you are editing. (In most cases, it will be) Now, rather than typing the full url inside the tag, you can just use the filename, like this:
<a href="linkingspot.html">Linking to Other Pages</a>
This will create the same link we just did, but we didn't have to write as much.

No comments:

Post a Comment

Page Rank Checker

Check Page Rank of your Web site pages instantly:

This page rank checking tool is powered by Page Rank Checker service