Page 79 - DCAP512_WAP_AND_WML
P. 79
Unit 6: Card Navigation
<a href =” #anothercard”> Notes
Moves to that card
</a>
The <anchor> element
used with <go>, <prev>, or <refresh>
can be used with parameters
<anchor><prev/>
Moves back one card
</anchor>
URLs
Fully Qualified URLs
<a href =http://www.hotbar.com/test1.wml>
Relative URLs
<a href =”#card2">
Task Analyze the difference between the <a> and <anchor> element.
6.3.2 Creating Links
Linking with Hot Spots
A hot spot is a “clickable” area on screen that directs navigation or other actions.
Link code connects a hot spot to a task. A task may be
Navigation task
Previous navigation task
Refresh page task
Hot spot links defined with anchor tags, either <a> or <anchor>
Link to Files
We can use hotspots to connect users to any file on the web.
<a href =”www. Microsoft.com/hi.wav”>
This is how we link to files
</a>
Links can comprise of one and only task.
The <a> element us used in combination with the href attributes just as in HTML
The <anchor> element can be utilized more broadly to contain other elements such as
<go>, <prev>, and <refresh>
LOVELY PROFESSIONAL UNIVERSITY 73