Friday 11 October 2013

A WML program to call two cards from same deck

AIM:  Write a WML program to call two cards from same deck.

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="Card #1">
    <do type="unknown" label="Next">
      <go href="#card2"/>
    </do>
            <do type="unknown1" label="Next">
      <go href="#card3"/>
    </do>
    <p align="center">
      <big><b>This is card one</b></big>
    </p>
  </card>
  <card id="card2" title="Card #2">
        <p align="center">
      <big><b>This is card two</b></big>
    </p>
  </card>
  <card id="card3" title="Card #3">
        <p align="center">
      <big><b>This is card three</b></big>
    </p>
  </card>

</wml>


No comments:

Post a Comment