A HTML Element

Send Feedback

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

Note   Windows Mobile-based Smartphones do not support frames.

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 Pocket PC 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 Internet Explorer Mobile to navigate the topmost document to the HREF.
Note   The TARGET element is not supported for Windows Mobile-based Smartphones.
TARGET _parent Causes the immediate parent of the frame to navigate to the HREF.
Note   The TARGET element is not supported for Windows Mobile-based Smartphones.
TARGET _top Causes Internet Explorer Mobile to navigate the topmost document to the HREF.
Note   The TARGET element is not supported for Windows Mobile-based Smartphones.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later

See Also

Internet Explorer Mobile HTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.