Geoffrey Sneddon wrote:
The link element is currently defined as being able to used "In a head element." in HTML5, in the current WD.

I was referring to the way browsers have to handle it in non-conforming documents.

| If the insertion mode is "in body"
|    Handle the token as follows:
|    ...
|    A start tag token whose tag name is one of: "base", "link", "meta",
|    "style", "title"
|        Parse error. Process the token as if the insertion mode had
|        been "in head".

That effectively means, no matter where the link element occurs, it has to be inserted into the head.

http://www.whatwg.org/specs/web-apps/current-work/#in-body

--
Lachlan Hunt
http://lachy.id.au/

Reply via email to