Site hosted by Angelfire.com: Build your free website today!
       
The Digital Reference Section
 
HTML Basics
Mr. Rodrigo Silvano
C
omputer Engineering Department
Don Bosco Technical College
 
Anchor  

<A>...link text...</A>
Definition
This tag gives a link to other Web resource or to a specific point on a Web Page. It references other files found on your local system or on a remote system on a network like the Internet.

Use
This tag must be the innermost elements in nested markups, except at the case where embedded character controls, font styles, or line breaks are also used. Anchors cannot be nested with other anchors. </A> is required.

Attributes
ACCESSKEY="text" - Gives the character used as keyboard shortcut in activating links.
CHARSET="text" - Defines the character set of the linked Web resource.
COORDS="X1, Y1, X2, Y2, and so on" - Defines the coordinates of the hot spot's shape.
HREF="URL" - Gives the location of any kind of Internet resource. This includes HTML or non-HTML files, e-mail, Telnet, Gopher.
NAME="text" - Marks the destination of a hypertext link within a document. The text act as an anchor that tells the position where the link attaches.
REL="text" - Gives the source end of the link and the type of the link.

REV="text" - Gives the destination end of the link and the type of the link.
SHAPE=(RECT|CIRCLE|POLY|DEFAULT) - Gives the shape of the hot zone in the client-side imagemap. RECT is defined by its top left corner and its bottom right corner. CIRCLE is defined by its then the radius. POLY is defined from a list of coordinates, connected in the order presented and with the last coordinate pair connected to the first. DEFAULT has no location and should only be used once in the map.
TABINDEX="number" - Gives the place of the link in the tabbing order.
TARGET="window" - Gives the loading link into the targeted window. This command can be used with FRAMESET wherein the fram has been named in the frame element. The targeted window can be any of the following:
window - loads the link into the targeted window. This must begin with an alphanumeric character with these exceptions:
_blank - loads the link into a new blank window.
_parent - loads the link into the parent of the current document.
_self - loads the link into the same window.
_top - loads the link into the full body of the window.

 


The PinoyTechZone.Com
Copyright 2002-2003
All rights Reserved