AIM: Write
a WML program to display username and password.
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_8">
<p> Welcome to registration page...... </p>
<do type="unknown"
label="LOGIN"> <go
href="#card2"/> </do>
</card>
<card id="card2"
title="TIMER">
<!--<onevent
Type="ontimer"> </onevent> <Timer value ="300"/>
-->
<p align="center">
Username:
<input type="text" name="username"/>
Password: <input
type="password" name="password"/>
</p>
<do type="unknown"
label="login"> <go
href="#card3"/> </do>
</card>
<card id="card3"
title="Data">
<p> Your UserName is: $username </p>
<p> Your Password is: $password </p>
</card>
</wml>
No comments:
Post a Comment