WML for Mobile Web Pages

The section contains stuff related to the HTML/DHTML/XHTML for Web Page Development.

WML for Mobile Web Pages

Postby MT Shahzad on March 24th, 2008, 8:09 am

Here is a basic example of a wap webpage for a mobile phone.

Code: Select all
<?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="index" title="My WAP Site" newcontext="true">
<p align="center">
Welcome to my new WAP site. You can view this on your mobile phone anywhere in the world!<br/>
<img src="logo.wbmp" alt="Logo" />
</p>
<p>
Here are some links:<br/>
<a href="#about">About Me</a><br/>
<a href="http://wap.google.com/">Google</a>
</p>
</card>
<card id="about" title="About Me">
<p>Here is some information about me. You can't write too much in here, though as there is not much space<br/>
You can scroll down the screen, of course.
</p>
<p align="center">
<a href="#index">Back</a>
</p>
</card>
</wml>
MT Shahzad
Web/Software Developer
http://mts.sw3solutions.com
User avatar
MT Shahzad
Site Admin
 
Posts: 300
Joined: February 29th, 2008, 8:11 am
Location: Muridke, Pakistan

Return to HTML / DHTML / XHTML

Who is online

Users browsing this forum: No registered users and 0 guests