The model for a hypertext reference is:
<a href="URL">Active Text</a>
If you are linking to someone else's site, the URL must be
an absolute pathname that begins with http://
.
If you are linking to a different page on your own site, use a relative pathname for the URL. This will enable you to move your entire file structure to a new server or directory without having to change any of your links.
If you are linking to a different location within the same page, you must first name that location as an anchor by inserting a line of the form:
<a id="some_name"></a>
before the line that is your intended destination. The URL will then look like this:
<a href="#some_name">Within-Page Link Text</a>
You may link to an anchor within another page with a link of the form:
<a href="URL#some_name">Active Text</a>
You may make an image clickable and active by putting it inside the
<a>
and </a>
tags, as in this model:
<a href="URL"><img src="image_URL" alt="image description"></a>
Do not put any blanks, tabs, or newlines before the closing
</a>
tag!
<< Creating Multi-Page Links | Index |