Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 11

07IT08 (PIET) Wireless Communication

Practical – 1

Aim: Write a Program to Display Title.

<?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="Pankit">
</card>
</wml>

Output:

1
07IT08 (PIET) Wireless Communication

Practical – 2

Aim: Write a Program to Display text in Bold, Italic, Small, Big and Emphasized
Tag.

<?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="Idea">
<do type="unknown" label="Next">
<go href="#card2"/>
</do>
<p align="center">
<big><b><i><em>Pankit</em></i></b></big>
</p>
</card>
<card id="card2" title="Kapadia">
<do type="unknown" label="Back">
<go href="#card1"/>
</do>
<p align="center">
<big><b><u>Punk</u></b></big>
</p>
</card>
</wml>

Output:

2
07IT08 (PIET) Wireless Communication

Practical – 3

Aim: Write a Program to call two cards from same deck.

<?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="Idea">
<do type="unknown" label="Next">
<go href="#card2"/>
</do>
<p align="center">
<big><b><i>Pankit</i></b></big>
</p>
</card>
<card id="card2" title="Aircel">
<do type="unknown" label="Back">
<go href="#card1"/>
</do>
<p align="center">
<big><b><u>Kapadia</u></b></big>
</p>
</card>
</wml>

Output:

3
07IT08 (PIET) Wireless Communication

Practical – 4

Aim: Write a Program to call one deck from another deck.

Prac2.wml

<?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="Card #1">
<do type="unknown" label="Next">
<go href="#card2"/>
</do>
<p align="center">
<big><b>Pankit</b></big>
</p>
</card>
<card id="card2" title="Card #2">
<p align="center">
<big><b>H</b></big><br/>
<small><a href="Prac1.wml">Click here for Practical No.1</a></small>
</p>
<do type="unknown" label="Next">
<go href="Prac1.wml"/>
</do>
</card>
</wml>

Prac1.wml

<?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="Pankit">
<do type="unknown1" label="Back">
<go href="Prac2.wml"/>
</do>
<do type="unknown" label="Next">
<go href="#card2"/>
</do>
<p align="center">
<big><b>Pankit</b></big> <br/>
<small><b><i>!dea</i></b></small>
</p>

4
07IT08 (PIET) Wireless Communication

</card>
<card id="card2" title="Kapadia">
<p align="center">
<big><b>Kapadia</b></big><br/>
<small><u>Aircel</u></small> </p>
<do type="unknown" label="Back">
<go href="#card1"/>
</do> </card>
</wml>

Output:

5
07IT08 (PIET) Wireless Communication

Practical – 5

Aim: Write a Program to display single table & link another tables from that table.

<?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="card #1">
<do type="unknown" label="Next">
<go href="#card2"/>
</do>
<p align="center">
<big><b>Information</b></big>
<table columns="2">
<tr>
<td>Name</td>
<td>Id No.</td>
</tr>
<tr>
<td><a href="#card2">Pankit</a></td>
<td>07IT08</td>
</tr>
</table>
</p>
</card>
<card id="card2" title="Card #2">
<p align="center">
<big><b>Detailed Info</b></big>
<table columns="2">
<tr>
<td>Name</td>
<td>City</td>
</tr>
<tr>
<td>Pankit</td>
<td>Chikhli</td>
</tr>
</table>
</p>
</card>
</wml>

6
07IT08 (PIET) Wireless Communication

Output:

7
07IT08 (PIET) Wireless Communication

Practical – 6

Aim : Write a Program to Display User’s Personal Information.

<?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="Fill Ur Personal Info">
<do type="unknown" label="Next">
<go href="#card2"/>
</do>
<pre>
F Name: <input type="text" name="fname"></input>
L Name: <input type="text" name="lname"></input>
DoB: <input type="text" name="dob"></input>
City: <input type="text" name="city"></input>
Country:<input type="text" name="country"></input>
</pre>
</card>
<card id="card2" title="Filled Info">
<p>
<big><b>Result:</b></big><br />
<br /></p>
<pre>First Name is <i>$(fname),</i>
Last Name is <i>$(lname),</i>
My DoB is <i>$(dob),</i>
I live in <i>$(city),</i>
I love my <i>$(country). </i></pre>
</card>
</wml>

8
07IT08 (PIET) Wireless Communication

Output:

9
07IT08 (PIET) Wireless Communication

Practical – 7

Aim : Write a Program to Display Option Group.

<?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="Select Option">
<do type="unknown" label="Indoor">
<go href="#card2"/>
</do>
<do type="unknown1" label="Outdoor">
<go href="#card3"/>
</do>
<p align="center">
<select name="Pankit">
<option value="Indoor" onpick="#Indoor">Indoor</option>
<option value="Outdoor" onpick="#Outdoor">Outdoor</option>
</select>
</p>
</card>
<card id="card2" title="Indoor Games">
<p align="center">
<select name="Indoor">
<option>Carrom</option>
<option>Chess</option>
</select>
</p>
</card>
<card id="card3" title="Outdoor Games">
<p align="center">
<select name="Outdoor">
<option>Cricket</option>
<option>Football</option>
</select>
</p>
</card>
</wml>

10
07IT08 (PIET) Wireless Communication

Output:

11

You might also like