| JSCRIPT | VBS | VBSCRIPT
event = script
Anchor elements designate the start or destination of a hypertext link. The
Anchor element requires the HREF= or the NAME= attribute to be specified.
- Specifies an accelerator for the element.
- Specifies the destination URL or anchor point.
- Specifies the class of the tag being defined. This is most often used to
associated a sub-classed style sheet with the tag.
- The column name from the data source object that supplies the bound data.
- Indicates the ID of the data source object that supplies the data that is
bound to this element.
- An SGML identifier used as the target for hypertext links or for naming
particular elements in associated style sheets. Valid names to script with are
any alphanumeric string that begins with a letter. Valid special characters
include underbar "_".
- This specifies the language to use. The specifier is an ISO standard
the default for this attribute.
- The METHODS attributes of anchors and links provide information about the
functions that the user may perform on an object. These are more accurately
given by the HTTP protocol when it is used, but it may, for similar reasons as
for the TITLE= attribute, be useful to include the information in advance in the
link. For example, the HTML user agent may chose a different rendering as a
function of the methods allowed; for example, something that is searchable may
get a different icon.
- Specifies the name of the control, bookmark, or applet.
- The REL attribute gives the relationship(s) described by the hypertext link
from the anchor to the target. The value is a comma-separated list of
relationship values. Values and their semantics will be registered by the HTML
registration authority. The default relationship if none other is given is void.
The REL attribute is only used when the HREF=
attribute is present.
- The REV attribute is the same as the REL=
attribute, but the semantics of the link type are in the reverse direction. A
link from A to B with REL="X" expresses the same relationship as a link from B
to A with REV="X". An anchor may have both REL and REV attributes.
- Specifies an in-line style sheet for the tag.
- Specifies the window or frame to target the contents at.
- The Title attribute is used to provide advisory information.
- Can be one or more of these events:
Text and/or images may be within an anchor. To represent images that are
anchors, a border in the visited or not visited color is displayed.
Both the start and end tags are required. Example
<A HREF="http://www.microsoft.com">This is a link to
<A HREF="home.htm">This is a link to a file called home.htm in the
directory as this page.</A>
<A TARGET="viewer" HREF="sample.htm">Click here to load the link