×

Discussion Board

Results 1 to 2 of 2

Thread: HTML to WML

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    HTML to WML

    I am trying to check my html site in wap enabled browser, can u give me steps to check my site in wap enables browser

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    24

    Re: HTML to WML

    You have to add the following four lines to your web page before ur head statement to run in wap emulator.

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
    "http://www.wapforum.org/DTD/xhtml-mobile10.dtd" >
    <html xmlns="http://www.w3.org/1999/xhtml">


    after that head section follows normally as html page and body and close html tag.

    Note. You should avoid using images. because some browsers will show error messages because it cannot load the images. and if a break line is given in html as <br> change that as <br/>. and the tages which doesnot have a closing tag in html like<input>,<p> all should be typed as <input name="" type="" />, </p>.

    Ex. code for u
    --------------


    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
    "http://www.wapforum.org/DTD/xhtml-mobile10.dtd" >
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>
    Simple Page
    </title>
    </head>

    <body>
    <p>Weldome to WAP!</p>
    </body
    </html>

Similar Threads

  1. html to wml conversion
    By amar_buchade in forum General Development Questions
    Replies: 1
    Last Post: 2009-04-29, 13:41
  2. html to wml conversion
    By amar_buchade in forum Mobile Web Site Development
    Replies: 2
    Last Post: 2007-07-02, 11:17
  3. HTML to WML?
    By Nokia_Archived in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2002-05-15, 18:47
  4. Colorizer of WML pages INTO COLOR HTML on:
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2002-05-14, 18:32
  5. XSL parsing of xml into wml and html
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-14, 17:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •