473,544 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WML (or) XHTML ?

18 New Member
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 3295
missshaikh
43 New Member
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.or g/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>Stron g</strong>
</p>
</body>
</html>


it is simple and same as HTML.

so you may use XHTML.
Apr 4 '07 #2
dhillarun
18 New Member
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 Recognized Expert Top Contributor
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
theoriginals
8 New Member
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
theoriginals
8 New Member
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 New Member
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 Recognized Expert Expert
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

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

Similar topics

3
12809
by: allard poldermans | last post by:
How can I make a reference to an external CSS or JS file that is relative to the XSL stylesheet, and not relative to the XML data? If you simply put : <link rel="stylesheet" type="text/css" href="ui/demo.css" ></link> in your XSL file, this link will always be relative to the location where the XML file is. For example, suppose I have...
21
11339
by: TheKeith | last post by:
I heard that the name attribute is deprecated in html 4.01 strict. Is it recommended that you use the ID attribute for images along with the getElementById method instead of the old way? Thanks.
20
3261
by: John Bokma | last post by:
Hi, I converted most (not all) of my pages at http://johnbokma.com/ to XHTML. I thought this was just a small change from 4.01. However someone stated quite vaguely that my pages are *not* XHTML since when a UA requests a page and states that it can handle XML the server still responds with a Content-type: text/html I see that...
35
5130
by: Dr.Tube | last post by:
Hi there, I have this web site (www.DrTube.com) which has the following DTD: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> which switches Mozilla to standards compliance mode as I can confirm myself. How can I check whether IE6 and Opera do so too? TIA Regards Xavier van Unen.
119
4513
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see, http://www.alistapart.com/articles/betterliving/ I read on...
2
2615
by: Joris Janssens | last post by:
I'm trying to write a program for validating XHTML 1.1-documents against the XHTML 1.1 DTD (which is actually the same as validating an XML-file) but I always get a "(404) Not found" error. This is the program itself : ******************************************************************** using System; using System.Xml; using...
6
433
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
0
7360
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7600
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7761
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7363
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7701
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4906
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3400
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1833
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
983
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.