Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
I quoted the HTML 4 spec. It says that for all of html, head and body, both the start and the end tags are optional. So the elements exist whether the tags are there or not, and all that's left is to correctly sort the subelements into head and body.
For the HTML 5 spec, look at 8.1.2.4 for when it's allowable to omit the start tags of html, head and body.
For parsing, look at 8.2.3.1 and 8.2.5.5 and following. Note that the note in 8.2.5.6 is incorrect.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law