{"id":230,"date":"2007-09-18T00:00:00","date_gmt":"2007-09-18T00:00:00","guid":{"rendered":"http:\/\/www.strongd.net\/?p=230"},"modified":"2007-09-18T00:00:00","modified_gmt":"2007-09-18T00:00:00","slug":"XHTML MP Document Structure","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=230","title":{"rendered":"XHTML MP Document Structure"},"content":{"rendered":"<p><DIV><br \/><P><FONT class=codeText>Hello World XHTML MP Example<\/FONT><\/P><br \/><P><FONT class=codeText color=#0080ff>&lt;?xml version=&#8221;1.0&#8243;?&gt;<BR>&lt;!DOCTYPE html PUBLIC &#8220;-\/\/WAPFORUM\/\/DTD XHTML Mobile 1.0\/\/EN&#8221; &#8220;http:\/\/www.wapforum.org\/DTD\/xhtml-mobile10.dtd&#8221;&gt;<BR><BR>&lt;html xmlns=&#8221;http:\/\/www.w3.org\/1999\/xhtml&#8221;&gt;<BR>&nbsp;&nbsp;&lt;head&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;XHTML MP Tutorial&lt;\/title&gt;<BR>&nbsp;&nbsp;&lt;\/head&gt;<BR><BR>&nbsp;&nbsp;&lt;body&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Hello world. Welcome to our XHTML MP tutorial.&lt;\/p&gt;<BR>&nbsp;&nbsp;&lt;\/body&gt;<BR>&lt;\/html&gt;<\/FONT><\/P><br \/><P><BR><\/P><br \/><P><FONT class=mainText>This is what you will see in some mobile phone emulators:<\/FONT><\/P><br \/><TABLE cellSpacing=0 cellPadding=4 width=\"100%\" border=0><br \/><COLGROUP><br \/><COL width=128><br \/><COL width=128><br \/><THEAD><br \/><TR><br \/><TD width=\"50%\"><br \/><P><IMG height=162 src=\"http:\/\/www.developershome.com\/wap\/xhtmlmp\/xhtml_mp_tutorial_html_2876af1f.png\" width=130 align=left border=0 name=image5><BR clear=left><FONT class=mainText>Sony Ericsson T610<\/FONT><\/P><\/TD><br \/><TD width=\"50%\"><br \/><P><IMG height=166 src=\"http:\/\/www.developershome.com\/wap\/xhtmlmp\/xhtml_mp_tutorial_html_m66e26f99.png\" width=134 align=left border=0 name=image6><BR clear=left><FONT class=mainText>Nokia Mobile Browser 4.0<\/FONT><\/P><\/TD><\/TR><\/THEAD><br \/><TBODY><\/TBODY><\/TABLE><br \/><P><BR><\/P><br \/><P><FONT class=mainText>XHTML MP documents start with the prolog, which contains the XML declaration and DOCTYPE declaration.<\/FONT><\/P><br \/><P><BR><\/P><br \/><P><FONT class=codeText>&lt;?xml version=&#8221;1.0&#8243;?&gt;<BR>&lt;!DOCTYPE html PUBLIC &#8220;-\/\/WAPFORUM\/\/DTD XHTML Mobile 1.0\/\/EN&#8221; &#8220;http:\/\/www.wapforum.org\/DTD\/xhtml-mobile10.dtd&#8221;&gt;<\/FONT><\/P><br \/><P><BR><\/P><br \/><P><FONT class=mainText>The prolog components are not XHTML MP elements and they should not be closed, i.e. you should not give them an end tag or finish them with \/&gt;.<\/FONT><\/P><br \/><P><FONT class=mainText>The rest of the document is the same as an ordinary HTML document, except that there should be no <I>xmlns<\/I> attribute for the &lt;html&gt; tag in HTML.<\/FONT><\/P><br \/><P><FONT class=mainText>XHTML MP documents must contain the &lt;html&gt;, &lt;head&gt;, &lt;title&gt;, and &lt;body&gt; elements.<\/FONT><\/P><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello World XHTML MP Example&lt;?xml version=&#8221;1.0&#8243;?&gt;&lt;!DOCTYPE html PUBLIC &#8220;-\/\/WAPFORUM\/\/DTD XHTML Mobile 1.0\/\/EN&#8221; &#8220;http:\/\/www.wapforum.org\/DTD\/xhtml-mobile10.dtd&#8221;&gt;&lt;html xmlns=&#8221;http:\/\/www.w3.org\/1999\/xhtml&#8221;&gt;&nbsp;&nbsp;&lt;head&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;XHTML MP Tutorial&lt;\/title&gt;&nbsp;&nbsp;&lt;\/head&gt;&nbsp;&nbsp;&lt;body&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Hello world. Welcome to our XHTML MP tutorial.&lt;\/p&gt;&nbsp;&nbsp;&lt;\/body&gt;&lt;\/html&gt;This is what you will see in some mobile phone emulators:Sony Ericsson T610Nokia Mobile Browser 4.0XHTML MP documents start with the prolog, which contains the XML declaration and DOCTYPE declaration.&lt;?xml version=&#8221;1.0&#8243;?&gt;&lt;!DOCTYPE html PUBLIC &hellip; <a href=\"https:\/\/www.strongd.net\/?p=230\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">XHTML MP Document Structure<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-230","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230"}],"version-history":[{"count":0,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/230\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}