11.3. <a> Element

The <a> element can also be used to create an anchor link to another card. The following WML markup code:


<anchor>
  <go href="linksEg1.wml"/>
  Next Card
</anchor>


is equivalent to the line:


<a href="linksEg1.wml">Next Card</a>


The <a> tag is a shortcut but not a replacement of the <go> tag. Some tasks in WML can only be done using the <go> tag but not the <a> tag. For example, to submit user data to the server, we need the <go></go> tag pair and the <postfield/> tag. We will describe how to submit user data to the server later in the "Submitting Form Data to the Server in WML" section.


Previous Page Page 19 of 50 Next Page


Feedback Form (ExpandCollapse)

What do you think about this web page?






(Optional) Please provide us more details. For example, suppose you select option 2 above, can you tell us specifically what information is missing? You can also suggest anything that can help us improve this web page.

(Optional) Your name:

(Optional) Your email address:

Please enter again to confirm:

Due to the amount of messages we received, we may not be able to reply to all messages.

A button for going back to the top of this page