<A...>
ACCESSKEY
="Shortcut Key"
CLASS
="Style Sheet Class"
DATAFLD
="Data Source Column Name"
DATASRC
="Data Source Identifier"
HREF
="URL"
ID
="Unique Identifier"
INDEXSTRING
="NetHelp Index text"
LANG
="Language descriptor"
LANGUAGE
="Scripting Language descriptor"
METHODS
="Comma delimited list of HTTP methods"
NAME
="Element Identifier"
REL
="URL"
REV
="URL"
STYLE
="Style Sheet Setting"
TARGET
="Frame|Window name|_top|_blank|_self|_parent"
TITLE
="Title of element"
TOCSTRING
="NetHelp Table of Contents text"
URN
="URN"
onClick
="Script Function"
onDblClick
="Script Function"
onDragStart
="Script Function"
onFilterChange
="Script Function"
onHelp
="Script Function"
onKeyDown
="Script Function"
onKeyPress
="Script Function"
onKeyUp
="Script Function"
onMouseDown
="Script Function"
onMouseMove
="Script Function"
onMouseOut
="Script Function"
onMouseOver
="Script Function"
onMouseUp
="Script Function"
onSelectStart
="Script Function"
onBlur
="Script Function"
onFocus
="Script Function"
>
...
</A>
Creates anchors or links in a document.
Attribute | Description |
ACCESSKEY |
Specifies a key that can be used as a shortcut to access the element. Pressing 'Alt' and the key specified in the ACCESSKEY attribute is the same as clicking on the element. |
CLASS |
Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element. |
DATAFLD |
Specifies the column name of the data (from the data source specified in the DATASRC attribute) to be used for populating the element. For the <A> element, the contents of the data will specify the HREF attribute, so should be a URL. |
DATASRC |
Specifies the ID attribute of an embedded data-source object (using the <OBJECT> element) that will be used as the data source for the elements data. |
HREF |
Sets a URL that will be navigated to when the link is clicked. |
ID |
Sets a unique identifier for the element, allowing it to be referenced within scripting functions, or to specify a style sheet setting, set using a #<style_class> class selector. |
INDEXSTRING |
Provides the text of index entries that the anchor represents. This is a NetHelp specific element (specific to Netscape). Indexes in NetHelp are constructed automatically from the contents of INDEXSTRING attributes. |
LANG |
Specifies the language (using an ISO country code derived classifier) that the element is using, for browsers that support document localisation. |
LANGUAGE |
Sets the scripting language that any in-line scripting events are written in. |
METHODS |
Provides a comma delimited list of HTTP methods, which may for example, provide additional processing information about the resource referenced in the HREF attribute. |
NAME |
Used to specify the contents of the <A> as an anchor that can be navigated to within the document by using a <A HREF="#..."> construct on another link. |
REL |
Specifies the forward relationship (how does the linked document relate to the current one) that the resource referenced in the HREF attribute has to the current link. |
REV |
Specifies the reverse relationship (I.e. how does the current document relate to that it's being linked to) that the resource referenced in the HREF attribute has to the current link. |
STYLE |
Sets in-line style sheet settings for the element, which will over-ride any set in a <STYLE> block, or externally linked to the document. |
TARGET |
Specifies a window or frame name which will be used as the target for any links in the document that don't expressly state a TARGET attribute. _top , _blank , _self and _parent are reserved TARGET attributes and are:
|
TITLE |
Specifies an informational title for the element. The contents of the TITLE attribute may be presented as a Tool-Tip by some browsers. |
TOCSTRING |
Provides the text of table of contents entries that the anchor represents. This is a NetHelp specific element (specific to Netscape). Tables of contents in NetHelp are constructed automatically from the contents of TOCSTRING attributes. |
URN |
Specifies a uniform resource name (URN) for a target document. |
Event | Description |
onClick |
Fired whenever the user clicks the element (or its contents) with the mouse |
onDblClick |
Fired whenever the user double-clicks the element (or its contents) with the mouse (the double-click speed is dependant on the users system settings). |
onDragStart |
Fired when the users initiaties dragging of the element (or it's contents) |
onFilterChange |
Fired whenever a filter is applied to an element, or whenever the properties of an applied filter are changed. |
onHelp |
Fired whenever the user presses 'F1' (for help) and the element has the users current focus. |
onKeyDown |
Fired when the user presses a key (only when the key is actually pressed) when the element has the focus. |
onKeyPress |
The onkeypress event is similar to the onkeydown event, except that it returns the UNICODE value of the key or keys being pressed when the event occurs. |
onKeyUp |
The onkeyup event is fired when a previously pressed key is released while the referenced element has the focus. |
onMouseDown |
The onmousedown event fires whenever the user presses a button on the mouse, with the event being initially fired for the element that has the focus when the mouse button is clicked, and bubbling up through the element objects until an onmousedown event handler is found. |
onMouseMove |
The onmousemove event occurs whenever the users mouse moves over the element. |
onMouseOut |
The onmouseout event fires when the users mouse leaves the area defined by the referenced element. |
onMouseOver |
The onmouseover event fires when the users mouse enters the area defined by the referenced element. |
onMouseUp |
The onmouseup event fires after a users mouse button has been pressed and released. |
onSelectStart |
The onselectstart event is fired whenever the users starts to select some text that is the contents of the referenced element. |
onBlur |
Fires when the element loses the users focus (i.e. the user clicks on a different element within the document). |
onFocus |
Fires whenever the element receives the focus, either by the user directly clicking on, or 'tab'bing to the element, or when the focus is applied through scripting. |
See 'HTML Reference|Anchors|<A>' for more information.