See also the Netscape Navigator HTML Tag Reference:
Anchors and Links
The <a> (anchor) tag is used to insert hyperlinks into your Web page.
There are two basic parts to a link: the URL (Web address) where
the link will take the user, and the text or image that the user sees
on the screen on which the user can click to go to the above URL.
If specifying the URL of a page on a different site, you must
include the "http://" at the beginning of the URL. This is the only
way that the browser knows that the new URL is on a different site.
Redwood's Web Site
Take a look at Redwood's Web Site today!
An image can also be used as a link. When using an image for a
link, the image can be given a border. (See the <img> demo for
additional examples.) By default, graphical links are given a
border of three pixels. The color of the border is the same as
the link color. To eliminate the border, set the border size to zero.
In addition, the "alt" attribute can be used to assign a text caption
to the image.
The color of links is set by attributes of the <body> tag.
The "link" attribute controls the color of unvisited links.
The "vlink" attribute controls the color of visited links.
The "alink" attribute, which only works with
Netscape Navigator, controls the color of links
while the mouse button is being pressed on the link.
The color of individual links can also be set by putting
a <font> tag inside the anchor (<a>) tag itself.
RHS Student Services
By default, text links are underlined. This behavior can be changed
in the user's Web browser settings. It can also be changed through
various coding techniques, such as through the use of cascading style
sheets and Dynamic HTML. Click HERE for an example.
The "target" attribute of the <a> tag is used to tell the Web browser
where to display a new Web page once the user clicks on a link. The
four possible values for the "target" attribute are:
Note that each value must begin with an underscore (_). The default
value (if no "target" attribute is used) is "_self". A value of "_blank"
will cause the linked page to be opened up in a new browser window.
The "_top" and "_parent" values are used in conjunction with frames.
The "_top" value opens the new page using the full browser window,
while the "_parent" value opens the new page in the frame one level
"up" from the current frame. If no frames are being used, "_self",
"_top", and "_parent" will all have the same effect.
RHS Student Services
To link to a specific location within an HTML document, either in the
current page or in a different page, use the "name" attribute to mark
the location in the document and a pound sign (#) at the end of the link
URL to specify the location in the document.
Go back to the pictures (above).
To create an e-mail link, use "mailto:" at the beginning of the link URL
instead of "http://", followed by a valid e-mail address. Then, assuming
e-mail is correct set up in the user's Web browser, clicking on the
hyperlink will bring up the appropriate e-mail application.