EXPERIMENT 7
AIM:
WAP in WML to illustrate use of “reference”
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
"http://www.wapforum.org/DTD/wml13.dtd">
<wml>
<card id = "joke" title = "home" newcontext = "true">
<onevent type = "ontimer">
<refresh>
<setvar name = "P" value = "A toffee"/>
</refresh>
</onevent>
<timer value = "50"/>
<p>
What does a child like?
<br/>
<b>$P</b>
</p>
</card>
</wml>
No comments:
Post a Comment