Put up a big red dialog box that says "BAD HTML", with an explanation 
"Apparently you forgot to check your <HEAD>..."  Etc.
> At what point should we assume the closure of the <HEAD>?  We can't
> do it at the first thing that the browser thinks shouldn't be there, because
> in that case, a browser that didn't understand <STYLE>data</STYLE> would
> assume closure of the HEAD as soon as it saw "data".  I suppose we can assume
> it at the <BODY>, but we still leave the opportunity for a doc with <HEAD>,
> not </HEAD> and no <BODY> which would just disappear into limbo inside the
> browser.  It sure worries me.
Change the definition of "what shouldn't be in <HEAD>" from "any tag that 
has never been defined as being in <HEAD>" to "any tag that has only ever 
been defined as being in <BODY>", and there won't be a problem with 
<STYLE>.  I.e., this will render fine:
<HEAD>
<TITLE>My document</TITLE>
<STYLE>
H1.font = helvetica
</STYLE>
<H1>My Document</H1>
The parser will know what to do between <TITLE> and </TITLE>, throw out 
everything up to <H1>, and then render <H1>My Document</H1>.  
	Brian
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  brian@hyperreal.com  http://www.[hyperreal,organic].com/