Posted by Arjen on 10/13/06 22:51
Hi, this piece of html doesn;t validate. That w3c validator sais
something about block elements in inline elements. As I understand it
<p><form></form></p> is valid or am I wrong ?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>test</title>
</head>
<body>
<div id = "testx">
<p>
text<br />
<form action="index.php" method="post">
veld:<br />
<input type="text" name="field" id="field"><br \>
<input type="submit" id="submitid" value="Submit" />
</form>
</p>
</div>
</body>
</html>
Navigation:
[Reply to this message]
|