Compartilhar via


A element

Obsolete. Defines a hypertext link for an element.

Usage

<A
  HREF = "url"/>

Attributes

Attribute Type Required Description

HREF

url

Yes

String value specifying the URL associated with the parent element.

Note  Obsolete. CDF supports only HTTP, HTTPS, and FTP protocols. If a different protocol is used, Internet Explorer will fail to navigate to the page without notifying the user.
 

Child elements

There are no child elements.

Parent elements

Element

CHANNEL

ITEM

Remarks

Windows Internet Explorer 7. The CDF (Channel Definition Format) is obsolete and should not be used.

The URL specified in the HREF attribute will be displayed in the browser channel pane if the TITLE element is not present.

The HREF attribute of the parent element must be omitted when using the A element. To a CDF client, including the A element is functionally equivalent to using the HREF attribute with the parent element and omitting the A element.

Examples

The following example uses the A element to define a hypertext link. The A element is nested inside an ITEM element. Note the absence of an HREF attribute within the ITEM tag.

<ITEM>
    <A HREF="http://www.joyware.tld/george.htm">Link to George page</A>
</ITEM>

Element information

Minimum supported system

Windows XP
Can be empty Yes