Friday 11 October 2013

A WML program to display table.

AIM:  Write a WML program to display table.
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="Pract_5">
    <p align="center">
      <big><b>Table</b></big>
                        <table columns="2">
                        <tr>
                        <td>year</td>
                        <td>persantage</td>
                        </tr>
                        <tr>
                        <td>first year</td>
                        <td>53</td>
                        </tr>
                        <tr>
                        <td>second year</td>
                        <td>53</td>
                        </tr>
                        <tr>
                        <td>Third year</td>
                        <td>53</td>
                        </tr>
                        <tr>
                        <td>forth year</td>
                        <td>53</td>
                        </tr>
                        </table>
    </p>
  </card>

</wml>


No comments:

Post a Comment