[whatwg] [html5] tags, elements and generated DOM

Anne van Kesteren fora at annevankesteren.nl
Tue Apr 5 12:15:44 PDT 2005


Ian Hickson wrote:
>> The head element seems to be implied by Mozilla and IE.
> 
> Even when there are no elements that imply a <head>? I meant, e.g.,
> when parsing the empty string as HTML. My understanding was that no
> <head> element was generated in that case.

  <data:text/html,>

... generates both in Firefox 1.0 and in recent nightlies:

  HTML
   HEAD
   BODY

... I haven't tested in other browsers.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>




More information about the whatwg mailing list