469,281 Members | 2,489 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,281 developers. It's quick & easy.

WML (or) XHTML ?

Hi,

I want to develope a effective mobile compatible site.

But, I don't know which markup language will be efficient and compactible with most of the browsers.

Should I use WML or XHTML MP ?

Which will provide higher level of compactible with most of the browsers?

Pl do reply me.
Apr 4 '07 #1
7 3187
Hi,

When we are using the XHTML then it will more computable. XHTML can alow the TAGS of HTML but WML not have all the HTML TAGS.

like


<?xml version="1.0"?>
<!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>Font Style</title>
</head>

<body>
<p>
<b>Bold</b><br/>
<i>Italic</i><br/>
<b><i>Bold italic</i></b><br/>
<small>Small</small><br/>
<big>Big</big><br/>
<em>Emphasis</em><br/>
<strong>Strong</strong>
</p>
</body>
</html>


it is simple and same as HTML.

so you may use XHTML.
Apr 4 '07 #2
Actually, I want to know the language which will be compatible with (or) suportted by most of the WAP Browsers.
Apr 5 '07 #3
kestrel
1,071 Expert 1GB
WML will be more compatible with phone browsers, so thats the safe bet. WML so its pretty much guaranteed to work, as long as your syntax is correct.

HTML and XHTML are gaining popularity with micro browsers, but not all phones will have this capability.
May 17 '07 #4
WML is more compatible, but much more basic.

You should really take a look at the WURFL project at sourceforge.net. If you implement this, you can detect the device capabilities that are looking at your site and then serve up content tailored to fit - size and type of images, markup language, and anything else such as specific Javascipt versions etc etc..

Matthew
May 18 '07 #5
also I'd take a trip to dot mobi for a very good report on mobile internet development.

M
May 18 '07 #6
kapilp
1
WML is old news. Even the deck rendering model is obsolete. I would definetly go with XHTML. The majority of mobile handsets do support XHTML 1.0.

Please see the following links.

http://dev.mobi/

http://www.w3.org/Mobile/
Mar 15 '08 #7
RedSon
5,000 Expert 4TB
WML is old news. Even the deck rendering model is obsolete. I would definetly go with XHTML. The majority of mobile handsets do support XHTML 1.0.

Please see the following links.

http://dev.mobi/

http://www.w3.org/Mobile/
Who owns the .mobi tld?
Mar 16 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by allard poldermans | last post: by
21 posts views Thread by TheKeith | last post: by
20 posts views Thread by John Bokma | last post: by
2 posts views Thread by Joris Janssens | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.