
Basic Linking
Warning: no blanks in file names on ANY system!
Absolute Link to Wilkes Home Page
<a href="http://www.wilkes.edu">Wilkes Home Page</a>
Relative Link to My Other Page 1
<a href="MyOtherPage1.html">My Other Page 1</a>
Link within a page link to description
<a href="#description">link to description</a>
Named anchor description
<a name="description">description</a>
| Prev | Next | The 'Old' Way to Make Your Own Home Page |
An absolute link uses the a command in the tag (short for anchor). Next is href= which is short for hypertext reference. The reference begins with http:// which is the protocol (HyperText Transport Protocol) the browser uses to connect. Next comes the name of the machine you are connecting with www.wilkes.edu. Then there may be a list of folder (directory) names between slashes ("/"). Finally, there can be an actual file name like MyOtherPage1.html. The text between the tags will be colored and underlined in most browsers. The final tag is </a> which closes the container.
A relative link is to another page (file) in the same folder (directory) as the current file. The html is the same except that the href reference is just a file name (with appropriate suffix). This type of link will work in a local mode (disconnected from the net).
You can create a small table of contents at the top of a page with a link within a page. This time the href reference is a number sign (#) followed by a word. This word (description) points to a named anchor somewhere else in the same file.
The named anchor is a location within a file. When a user clicks on a link to this name, the browser searches for the name="description" anchor. This named anchor is brought to the top of the browser window.
When a user moves the cursor on top of a link, Netscape displays the link on the bottom left of the window. If you click and hold the button down on a link, Netscape will bring up a menu which will let you choose to:
Open this link
Copy this Link Location
Add Bookmark for this Link
New Window with this Link
Save this Link as...
| Prev | Next | The 'Old' Way to Make Your Own Home Page |
Membership