Page 201 - DCAP512_WAP_AND_WML
P. 201

Unit 14: Problems for Practice




               “http://www.wapforum.org/DTD/wml_1.1.xml”>                                       Notes
               <wml>
               <card id=”one” title=”course”>
               <do type=”bba”>
               <go href=”#two”/>
               </do>
               <p> <br/> </p>
               <do type=”bca”>
               <go href=”#three”/>
               </do>
               </card>
               <card id=”two” title=”detail”>
               <p>
               this is bba
               </p>
               </card>
          9.   Example of using Input Tag In WML
               <?xml version=”1.0"?>
               <!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.1//EN”
               “http://www.wapforum.org/DTD/wml_1.1.xml”>
               <wml>
                  <card title=”Resume”>
                       <p>
               <b> Name: </b> <input name=”s” size=”15"/>
               <b>  Age:  </b> <input name=”a” size=”4"/>
                        </p>
                   </card>
               </wml>
          10.  Example of using Hyperlink Tag In WML
               <?xml version=”1.0"?>
               <!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.1//EN”
               “http://www.wapforum.org/DTD/wml_1.1.xml”>
               <wml>
               <card id=”First” title=”Information”>
               <do type=”clickhere”>
               <go href=”#second”/>
               </do>
               </card>
               <card id=”second” title=”hello”>
               <p>
               hello this is my pc
               </p>



                                           LOVELY PROFESSIONAL UNIVERSITY                                   195
   196   197   198   199   200   201   202   203   204   205