XHTML Mobile Profile: Difference between revisions

Content deleted Content added
Example: password
Sapphaline (talk | contribs)
 
(18 intermediate revisions by 15 users not shown)
Line 1:
{{Short description|Hypertextual computer language standard}}
{{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 aan obsolete [[hypertext]]ual [[computer language]] standard designed specifically for [[mobile phones]] and other resource-constrained devices.
{{HTML}}
It is an [[XHTML]] document type defined by the [[Open Mobile Alliance]]. XHTML-MP is derived from [[XHTML Basic]] 1.0 by adding XHTML Modules, with later versions of the standard adding more modules. However, for certain modules, XHTML-MP does not mandate a complete implementation so an XHTML-MP browser may not be fully conforming on all modules.<br />
The XHTML MP 1.2 DTD is the current recommendation, finalized in March 2008.
 
''[[XHTML Basic]] 1.1'' became a W3C Recommendation in July 2008, superseding XHTML-MP 1.2.<ref name="xhtml-basic-1.1">{{cite web
Line 10:
|publisher=[[World Wide Web Consortium]]
|date=2008-07-29
|accessdateaccess-date=2010-05-06}}</ref>
 
==Document Type Declaration==
== DOCTYPE ==
To validate as XHTML-MP, a document must contain a proper [[Document Type Declaration]],<ref>{{Cite web|title = Example Domain|url = http://example.com/|website = example.com|accessdate = 2015-09-21}}</ref>(DTD) or DOCTYPE, depending on the version of specification followed
 
<sourcesyntaxhighlight lang="xml">
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
Line 24:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
</syntaxhighlight>
</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 the display time, if an XML MIME type is specified.
 
<a class="_56bz _54k8 _5c9u _5kqs _5caa" role="button" data-store="{&quot;hq-profile-logging&quot;:{&quot;profile_id&quot;:100007828840726,&quot;profile_high_quality_metric&quot;:&quot;action_bar_friend&quot;,&quot;profile_session_token&quot;:&quot;100002449944946:100007828840726:1493219485&quot;,&quot;profile_surface_type&quot;:&quot;action_bar&quot;,&quot;profile_event_type&quot;:&quot;click&quot;}}" data-sigil="touchable"><i class="_5c9v _56br _4q9b img sp_U4VNh7NfSEV_3x sx_d305f5"></i><span class="_55sr"><span class="_52jg" data-sigil="m-profile-action-button-label">الأصدقاء</span></span></a>
 
==References==