<A
CLASS=type
HREF=reference
ID=value
NAME=name
onClick=function
onMouseOver=function
REL=SAME|NEXT|PARENT|PREVIOUS
REV=value
STYLE=style
TARGET=window
TITLE=title>
</A>
Stands for anchor. The end-tag is required.
SAME | The author of the linked document is the same as the current document. |
NEXT | The link is the next page in a sequence. |
PARENT | The current page is the parent of a destination document. |
PREVIOUS | The link is to the previous document. |
window | Specifies to load the link into the targeted window. The window must begin with an alphanumeric character to be valid, except for the following four target windows: |
_blank | Load the link into a new blank window. This window is not named. |
_parent | Load the link into the immediate parent of the document the link is in. |
_self | Load the link into the same window the link was clicked in. |
_top | Load the link into the full body of the window. |
The properties of elements that can follow A are applied to the data characters or elements in the container. The anchor element is used to link text or other elements using the HREF= attribute. The anchor element is used to specify text or graphics as a named reference, to which hyperlinks can link, using the NAME= attribute. Anchors cannot be nested.
Example
<A HREF="http://www.microsoft.com"> This is a link to Microsoft.</A> <A HREF="home.htm">This is a link to a file called home.htm in the same directory as this page.</A> <A TARGET="viewer" HREF="sample.htm">Click here to load the link into "viewer" window.</A>
Questions: