[html5] Abbreviated title tags render a blank background?
Henri Sivonen
hsivonen at iki.fi
Mon Apr 11 04:43:33 PDT 2011
> > Is this behavior a rule of HTML 5?
>
> As far as I can see (and the parsing rules are somewhat complex, for
> me at
> least), HTML 5 prescribes processing of <title> element content as raw
> text
> data, so yes. The element is only closed by an explicit </title> tag.
Correct.
> If I'm not mistaken, this also applies to XHTML serialization of HTML 5.
That's not correct. application/xhtml+xml is parsed according to the XML rules, so <title></title> and <title/> are equivalent in that serialization.
--
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
More information about the Help
mailing list