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

On Tue, 5 Apr 2005, Anne van Kesteren wrote:
> 
> That also means that:
> 
>  <data:text/html,<style>body{background:lime}</style>>
> 
> ... generates:
> 
>  HTML
>   HEAD
>    STYLE
>     #text
>   BODY
> 
> ... whether you like it or not.

It actually varies on the browser. Some browsers have a TITLE, some omit 
the HEAD if there is no HEAD content, etc. Opera has a number of bugs with 
completely omitting the HEAD, in fact.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 23 February 2006 18:29:43 UTC