Won't validate

validate

Junior Member

joined:Oct 1, 2005
posts: 91
votes: 0

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.

Senior Member from US

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: