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.
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.
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.
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 Pocket Internet Explorer to navigate the topmost document to the HREF.
Note   The TARGET element is not supported for Windows Mobile-based Smartphones.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.