LINKS BASICS

Links are used to transfer control to another HTML file or page. The HTML tag that is used to make a link is called the anchor. You do need to know the Universal Resource Locator (URL) address of the file. The URL can be either (a) a full URL, e.g. http://www.wise-old-man.com/index.html, or (b) a relative link, e.g. index.html, which mean the file is on your site. The general form of a text link is:

<a href="URL" title="...any text you want here...">CLICK HERE</a>

The title="...any text you want here..." is one of the anchor attributes that you can add. It allows the text you place between the double quotes to appear when the mouse is over the link. Hover your mouse here => HTML TAGS. You should see the text, Go To My HTML Tag Help Page appear below and to the right of the link. However, THIS LINK doesn't have the title so hovering will produce any text below the link.

For example, to link to another file on your site, which is called a RELATIVE LINK, as it just using the name of your file:

<a href="helplinks.htm">Link Help Page</a>

If you want to put a link to a page that is not on your site, then you have to use the full URL:

<a href="http://www.wise-old-man.com/helplinks.htm"> Go To WOM's Links Help Page</a>

Please note the http:// in the reference (href=".."). If the http:// is not present, i.e. you only use www.wise-old-man.com/helplinks.htm, then the browser will assume that this URL is a file on your site. This will case a 404 page to appear, i.e File Not Found.

If you wish to link to files within your site but in a sub-directory, then please read about sub-directories.