473,568 Members | 2,738 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 3301
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
12810
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
11348
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
3272
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
5142
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
4526
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
2621
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
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7916
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
8117
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...
0
7962
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
5217
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
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2101
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
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.