Why won't this validate? It says HEAD tag not finished and also Form tag not finished. I took out the form and meta stuff and still it says the head tag is not finished. And I can not get the form to validate at all.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <META http-equiv=content-type content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-us"> </HEAD> <BODY> <DIV id=page>
<!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form -->
The part I've bolded means that the element must contain at least 1 %block% [w3.org] or SCRIPT element child. I've never understood why this was a requirement, but in any case I typically get around this by always wrapping the inner contents of my form in a DIV element:
<form action="/test.php" method="POST"> <div> <!-- Contents of form go here --> </div> </form>