Content deleted Content added
PaponSifat02 (talk | contribs) m Social Network site |
m removed strange link labels, misc copyediting |
||
Line 1:
{{update|date=July 2015}}[[Image:Mobile Web Standards Evolution Vector.svg|thumb|300px|right|Evolution of mobile web standards]]
'''XHTML Mobile Profile''' ('''XHTML MP''') is a [[hypertext]]ual [[computer language
{{HTML}}
It is an [[XHTML]] document type defined by the [[Open
The XHTML MP 1.2 DTD is the current recommendation, finalized in March 2008.
Line 12:
|accessdate=2010-05-06}}</ref>
== DOCTYPE ==
To validate as XHTML-MP, a document must contain a proper [[Document Type Declaration
<source lang="xml">
Line 26:
</source>
Note that a series of revisions have been issued to correct technical errors in the above DTDs, and the DTD format is more complex and less widely supported than that of standard HTML.
== MIME types ==
The [[MIME]] type for XHTML Mobile Profile is "application/vnd.wap.xhtml+xml". Conforming [[user agent]]s should also accept "application/xhtml+xml" and "text/html". Many desktop browsers will only validate XHTML-MP at display time, if an XML MIME type is specified.
== Development pitfalls ==
Many problems arise when content written in XHTML is shown on different devices. For example, some devices will honor colors specified in [[CSS]], while other devices will not. Building an adaptive application means delivering different content to different devices, according to their capabilities. This can bring huge complexity, given the number of different devices in the market with different hardware (screen-sizes, coloring capacity, buttons, memory and speed) and [[Web browser|browsers]]. Software updates on mobile browsers are much more difficult than with desktop browsers, and as a result broken software tends to stay in use until the device is discarded.
Many software initiatives attempt to solve this problem. Most of these initiatives provide a proprietary language to write WAP content, which will render different content (XHTML-MP, [[Wireless Markup Language|WML]], [[CHTML]], etc.) according to the requesting device. One commercial initiative is [[
== Example ==
A complete [[Valid XML document|valid]] and [[Well-formed XML document|well-formed]] example is:
Line 56:
When served with a [[MIME]] type of "application/xhtml+xml" or "application/vnd.wap.xhtml+xml".
== Notes ==
<references />
== External links ==
* [http://www.openmobilealliance.org/ Open Mobile Alliance]
* W3C Recommendation for [http://www.w3.org/TR/xhtml11/ XHTML 1.1]
* W3C Recommendation for [http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/ Modularization of XHTML] as of April 10, 2001.
* [http://www.passani.it/gap/ XHTML-MP Authoring PracticesvteStandards]
{{Open Mobile Alliance standards}}
|