A
<A
ACCESSKEY=key
CLASS=classname
HREF=url
ID=value
NAME=name
STYLE=css1-properties
VOICEFILE=url
GRAMMAR=strings
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
event = script
>
Specifies an anchor element. If the element has the HREF attribute, the WTE treats the anchor as a menu item. Otherwise, the WTE treats the anchor as the destination of a link.
Attributes
- ACCESSKEY= key
- Specifies the key attached to the menu item. If the ACCESSKEY attribute is not defined or the ACCESSKEY defined cannot be associated with the menu item, the WTE automatically assigns an ACCESSKEY attribute. For more information, see Assigning Dual Tone Multi-Frequency Digits to Menu Items.
- CLASS= classname
- Specifies the class of the element being defined. This is used to associate a subclassed cascading style sheet (CSS) with the element.
- HREF= url
- Specifies the destination URL or anchor point.
- ID= value
- An SGML identifier (ID) used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore ("_") can be used in the ID name. The ID should be unique throughout the document. If more than one object with the same ID exists in a document, a collection of those named items is created that can only be referenced by ordinal position.
- NAME= name
- Specifies the name of the anchor.
- STYLE= css1-properties
- Specifies an inline style sheet for the element.
- VOICEFILE= url
- Specifies the voice file attached with this element.
- GRAMMAR= strings
- Specifies a set of alternative words or phrases for the menu item. The caller can select the menu item by speaking any word or phrase in the set. This attribute is ignored if SR is not enabled.
- LANGUAGE= JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
- Specifies the language in which the current script is written and invokes the proper scripting engine. The default value is JAVASCRIPT.
Language |
Description |
JAVASCRIPT, JSCRIPT |
The scripting language is written in Microsoft JScript®. |
VBS, VBSCRIPT |
The scripting language is written in Microsoft Visual Basic® Scripting Edition (VBScript). |
- event
- Can be the onclick event or another event.
Remarks
No intrinsic controls are treated inside an anchor.
An anchor inside the BUTTON element is not a menu item.
Both the start and end tags are required.
Example
<P>
<A AccessKey="1" HREF="oredr.htm">Orders.</A>
<A AccessKey="2" HREF="more.htm">More items.</A>
</P>