html5 - Is a <link> tag permitted after an </html>? -


seems html5 recommendation has little ambiguity <link> position: http://www.w3.org/tr/html5/document-metadata.html#the-link-element

there phrase

contexts in element can used: metadata content expected.

and there no exact definition of contexts. whole page describes content of kind e.g. head, title, base, link, meta, style.

there paragraph:

a link element must have rel attribute. if rel attribute used, element restricted head element.

seems has redundant or mutually exclusive phrases.

so clarify situation <link> tag position?

is google right https://developers.google.com/speed/docs/insights/optimizecssdelivery#example or violate w3c recommendation?

link not permitted outside of html element. html element single permitted root element.

inserting element head cannot place out of html because head must in html.


Comments