<a href="PageNameHere.html"> Link Name </a>

PURPOSE: To make a Anchor Link to another html page or another domain name.

Below is a basic html document. The referenced html tag is in RED. All tags must have a start and a end tag. Most end tags have a / before the tags name, however there are a few that are done differently. The tags that end differently will be noted and highlighted. The order of the start and end tags is also very important to proper display of your page in a web browser.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> The Page Title Goes Here </title>
</head>
<body>
<a href="tags.html">Back To Examples</a>
</body>
</html>

The above code is whats makes a clickable link from this page, to a page named tags.html.


You can use the target="" attribute to make the link to open in another window or frame than the one the link itself is placed in.

Here is an example of the code:
<a href="http://www.southerntwilight.com" target="_blank">

Predefined targets are:

_blankloads the page into a new browser window.
_selfloads the page into the current window.
_parentloads the page into the frame that is superior to the frame the hyperlink is in.
_topcancels all frames, and loads in full browser window.

© Copyright 2001,2002 Southern Twilight    All rights reserved.

Back To HTML Examples