XHTML Mobile Profile: Difference between revisions

Content deleted Content added
remove example.com | Cleaned up using AutoEd
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
Line 15:
To validate as XHTML-MP, a document must contain a proper [[Document Type Declaration]], (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.