0% found this document useful (0 votes)
106 views

Output: Q1. Program To Display Name, Roll Number On Mobile Screen

The document contains 5 questions and code snippets that demonstrate different features of WML (Wireless Markup Language) for displaying content on mobile screens. The snippets show how to: 1) Display a name and roll number in the center of the screen. 2) Use align tags to position different blocks of text left, center, and right. 3) Apply formatting tags like underline, bold, and italics. 4) Add hyperlinks between pages using anchor tags. 5) Insert a wallpaper image on the screen.

Uploaded by

Guneet Garg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Output: Q1. Program To Display Name, Roll Number On Mobile Screen

The document contains 5 questions and code snippets that demonstrate different features of WML (Wireless Markup Language) for displaying content on mobile screens. The snippets show how to: 1) Display a name and roll number in the center of the screen. 2) Use align tags to position different blocks of text left, center, and right. 3) Apply formatting tags like underline, bold, and italics. 4) Add hyperlinks between pages using anchor tags. 5) Insert a wallpaper image on the screen.

Uploaded by

Guneet Garg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Q1.

Program to display name, roll number on mobile screen


<?xml version="1.0"?> <!-- created by WAPtor (http://www.waptop.net/) --> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <!-- THIS IS THE FIRST CARD IN THE DECK --> <card id="MainCard11" title="This is a first card"> <p align="center"> Guneet Garg<br /> 09114802710 </p> </card> </wml>

Output

Q2. Program to use align tag on mobile screen <?xml version="1.0"?> <!-- created by WAPtor (http://www.waptop.net/) --> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <!-- THIS IS THE FIRST CARD IN THE DECK --> <card id="MainCard11" title="This is a first card"> <p align="center"> Guneet Garg<br /> </p> <p align="left"> 09114802710 </p> <p align="right"> Computer Science and Engineering </p> <p align="left"> Date: 12 August 2013 </p> </card> </wml>

Output

Q3. Program to use underline. Bold, italic tag.


<?xml version="1.0"?> <!-- created by WAPtor (http://www.waptop.net/) --> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <!-- THIS IS THE FIRST CARD IN THE DECK --> <card id="MainCard11" title="This is a first card"> <p align="left"> <u>Guneet Garg</u><br /> <b>09114802710</b><br /> <i>Computer Science and Engineering</i> </p> </card> </wml>

Output

Q4. Program to use anchor tag


<?xml version="1.0"?> <!-- created by WAPtor (http://www.waptop.net/) --> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <!-- THIS IS THE FIRST CARD IN THE DECK --> <card id="MainCard11" title="This is a first card"> <p align="left"> <u>Guneet Garg</u><br /> <b>09114802710</b><br /> <i>Computer Science and Engineering</i> </p> <p> <h1>THIS IS MY HOME PAGE</h1><br/> <a href="guneet1.wml">Next Page</a> </p> </card> </wml> <?xml version="1.0"?> <!-- created by WAPtor (http://www.waptop.net/) --> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <!-- THIS IS THE FIRST CARD IN THE DECK --> <card id="MainCard13" title="This is a first card"> <p align="left"> <u>Guneet Garg</u><br /> <b>09114802710</b><br /> <i>Computer Science and Engineering</i> </p> <p> <h1>THIS IS MY SECOND PAGE</h1><br/> <a href="guneet.wml">Previous Page</a> </p></card> </wml>

Output

Q5. Program to insert wallpaper on mobile screen


<?xml version="1.0"?> <!-- created by WAPtor (http://www.waptop.net/) --> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <!-- THIS IS THE FIRST CARD IN THE DECK --> <card id="MainCard11" title="This is a first card"> <p align="left"> <u>Guneet Garg</u><br /> <b>09114802710</b><br /> <i>Computer Science and Engineering</i> </p> <p> <h1>THIS IS MY HOME PAGE</h1><br/> <a href="guneet1.wml">Next Page</a> <img src="C:\Jitender\untitled1.bmp" alt="Error Image Not Found "/> </p> </card> </wml>

Output 1

Output 2

You might also like