Version: 1.1
Type: Sample Code (HOWTO)
Category: HTML
License: GNU General Public License
Description: A way to pass the xml doc type in a php script….
<?php echo ('<'.'?xml version="1.0?'.'>'); echo("<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">"); echo("<html><head></head>"); echo("<body>"); echo("<h1>A valid dynamic xhtml/php document</h1>"); echo("<p> <!-- this site vaildates to xhtml strict 1.0-->"); echo("<a href="http://validator.w3.org/check/referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>"); echo("</body>"); echo("</html>"); ?>