Share via


A HTML Element

The A element designates the start or destination of a hypertext link. This is an inline element and requires a closing tag.

Attributes

Attribute Value Description
ACCESSKEY 0...9, #, * Gives access or focus to an active HTML element by using a keypad number.
Note   For Pocket PCs, supported only for devices running Windows Mobile 2003 software or later.
CLASS   Associates the element with a cascading style sheet (CSS) style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
HREF URL A string that specifies a destination URL or anchor point — for example, #bookmark, mailto:, or tel.
ID   Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
NAME String Specifies a name or bookmark for the current section of the document.
ONCLICK   Event that occurs when the user chooses the A element.
Note   For Pocket PCs, supported only for devices running Windows Mobile 2002 software or later.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.
TABINDEX Number Sets the order in which elements are tabbed to.
Note   Supported only for devices running Windows Mobile 2003 software or later.
TARGET _blank Causes Pocket Internet Explorer to navigate the topmost document to the HREF.
TARGET _parent Causes the immediate parent of the frame to navigate to the HREF.
TARGET _top Causes Pocket Internet Explorer to navigate the topmost document to the HREF.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.