HTML validation · Head element

Noscript in the head

The head contains a noscript element. This is allowed when it holds only link, style or meta elements, but it is worth reviewing.

How this page is built

At the end of the head of this page, a noscript element contains a style element. That is valid HTML, so browsers keep the head open.

Why it matters

A noscript element in the head is valid, as long as it only contains link, style or meta elements. Crawl tools report it so that its contents can be checked.

If anyone later adds an image, iframe or text to it, the head may close early for crawlers that do not run JavaScript, and tags after it may be missed.

How to check it

View the source and look inside each noscript element in the head. The W3C Nu HTML Checker confirms whether the contents are allowed.

How to fix it

Nothing needs to change if the contents are valid. Consider moving noscript elements to the end of the head, after important tags, so any future mistake does less harm.

Back to all tests