<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>form test</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
</head>
<body>
<div>
<?php
 $last_name=$_GET['lastname'];
 $greeting="Hello";
 $title="Mr or Ms";
 print "$greeting $title $last_name";
?>
</div>
<p>
<a href="http://validator.w3.org/check?uri=referer"><img
    style="border: 0pt"
    src="/valid-xhtml10.png"
    alt="Valid XHTML 1.0!" height="31" width="88" /></a>
</p>
</body>
</html>








Valid XHTML 1.0!