This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Steps to reproduce: 1. Save the file below 2. Check the file via upload Result: See error: Line 5, column 6: end tag for "HEAD" which is not finished Expected Result: It should either validate or give more friendly error <!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"> </head> <body> </body> </html>
The error message explanation for this error (#73 "end tag for %1 which is not finished") already states [[ Another possibility is that you used an element (e.g. 'ul') which requires a child element (e.g. 'li') that you did not include. Hence the parent element is "not finished", not complete.]] Can't do much better without making a specific error for the lack of <title> in <head>, which we can't do with the current architecture. Can you suggest a better error message explanation?
Resolve INVALID as no feedback has been received since June.
I have duplicated this bug and found a workaround. If you add a title tag (e.g. "<title>This is my title</title>") it validates fine.
THat's not a workaround, it's a fix for the original problem in your markup. The 'head' element requires a 'title' element and the validator will tell you that the 'head' element is "not finished" if it finds the end tag for 'head' without having seen a 'title' element. IOW this was never a bug in the validator, it was a genuine error in your original markup. Closing as Invalid.