AIM: Write
a WML program for option group.
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_7">
<do type="unknown"
label="indoor"> <go href="#card2"/> </do>
<do type="ddd"
label="outdoor"> <go href="#card3"/> </do>
<p align="center">
<select
name="s1">
<option
value="indoor" onpick="#indoor">indoor</option>
<option
value="outdoor" onpick="#outdoor">outdoor</option>
</select>
</p>
</card>
<card id="card2"
title="Indoor">
<p align="center">
<select name
= "i">
<option>Carrom</option>
<option>Chess</option>
<option>Su-Do-Ku</option>
</select>
</p>
</card>
<card id="card3"
title="outdoor">
<p align="center">
<select name
= "i">
<option>Hocky</option>
<option>Cricket</option>
<option>Football</option>
</select>
</p>
</card>
</wml>
No comments:
Post a Comment