Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project








WML TAG:  a

<a href=... > ... </a>
 
The a tag is used with the mandatory href attribute to set a hypertext link (usually just referred to as a hyperlink or link). The link allows you to travel from one XML card or deck to another.
 
You cannot nest link elements inside of other link elements. However, you can nest the br and img tags in a link element.
 
The anchor tag can also perform the exact same task as the a tag, but the anchor tag requires the use of the go tag to effect the link. It is strongly recommended that you use the a rather than the anchor tag for links.
 
Nested Tags:  br  img
 
Attributes
 
class
The optional class core attribute is used to assign one or more classes to the element. Multiple classes are separated by white space. The class name is case sensitive (i.e., Stocks and stocks are not the same).
 
href
The mandatory href attribute provides the URL for the destination of the link. It can be the URL of a deck or card. The URL usually cannot exceed 255 characters in length.
 
id
The optional id core attribute is used to assign an identifying name to a tag. The name must be unique to the entire deck and not just unique to a card. The first character of the name can be any letter or the underscore. The remaining characters can be any combination of letters, numbers, or underscores.
 
title
The optional title attribute provides a string or text used to describe or provide additional information about the link.
 
xml:lang
The optional xml:lang attribute sets the language, such as English or Greek, used in the element. For example, in the U.S. the default value is en-US.
 
Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="card 1">
<p>
<a href="test17.wml" id="a_tag_test" title="a tag">Test Page</a>
</p>
</card>
</wml>
 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information