11.3. <a> Element

Preferences - Do not show ads

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

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

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

Contents at a Glance (Click Here for Full Table of Contents)
Print this Web Page | | Back to Top

Feedback Form (Expand)

What do you think about this web page?

WML Tutorial Table of Contents WML Tutorial Contents at a Glance Preferences - Change Color Scheme Preferences - Do Not Show Ads Previous Page Next Page