Friday 11 October 2013

A WML program to display user personal information.

AIM:  Write a WML program to display user personal information.
CODE:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
     "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <card id="card1" title="Practical_6">
 <do type="unknown" label="Go to Next Card">  <go href="#card2"/>  </do>
<p align="center">
Enter Your Name : <input type="text" name="username"></input>
Enter Your City : <input type="text" name="usercity"></input>  
Enter Your Sem : <input type="text" name="usersem"></input>
Enter Your Address : <input type="text" name="useraddress"></input>
</p>
</card>
<card id="card2" title="Card2">
<p align="center">
            Hello $(username)
                        I am Coming from $(usercity)
                        I am in $(usersem)
                        My Address is $(useraddress)
</p>
</card>

</wml>


No comments:

Post a Comment