W3C Valid XHTMLMP start page
This is not super ease to do, so if you need a completely valid XHTMLMP start page to kick you off, here is an example. NOTE this took adding one mime type to the web server;
extention: .xhtmlmp (this can be anyting, as long as it is the extention you use)
mime: application/xhtml+xml
(adding mime types can also be done via a .htaccess file in the same folder as the xhtmlmp document, if you dont have access to the servers mime types)
this is the actual code, save it in a text editor as index.xhtmlmp
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Hello</title>
<meta http-equiv="Cache-Control" content="private"/>
</head>
<body>
<p>Hello <a href="http://example.org/">world</a>.</p>
</body>
</html>
0 Comments:
Post a Comment