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 |
Contents at a Glance (Click Here for Full Table of Contents)
- 1. WML (Wireless Markup Language) Introduction
- 2. WML Deck and Card
- 3. WML Document Structure
- 4. WML Generic Metadata: <meta>
- 5. Comments in WML
- 6. Line Breaking in WML
- 7. Font Size and Style in WML
- 8. WML Preformatted Text: <pre>
- 9. WML Images
- 10. WML Tables
- 11. WML Anchor Links
- 12. Programming Softkeys of Mobile Phones and the <do> Element
- 13. WML Template and Menu
- 14. WML Events and the <onevent> Tag
- 15. Timer and the ontimer Event
- 16. WML Event: onenterbackward
- 17. WML Event: onenterforward
- 18. WML Selection Lists and the onpick Event
- 19. WML Input Fields
- 20. WML Variables
- 21. Submitting Form Data to the Server in WML
- 22. Clearing a Saved Form in WML