top of page
  • Writer's pictureBrent D. Payne

<head> contains a <noscript> tag

In the digital landscape, it is observed that the web page in question incorporates a <noscript> tag within the <head> section of the document.

Why is this important?

The <noscript> tag is a method of presenting alternative content to users who either do not have JavaScript enabled in their internet browsers or are utilizing browsers that do not support JavaScript.

Although it's applicable for implementation within both the <head> and the <body> sections of HTML, exercising caution when inserting <noscript> tags into the head is of paramount importance. This is because it can compromise the integrity of the <head> section, potentially resulting in challenges for search engine discovery of essential head-specific tags, such as those relating to international language variants.

What does the optimization check?

The optimization in question will fire for any instance within the given website where a <noscript> tag is found in the <head> portion, even if this includes legitimate elements (such as <link>, <style>, and <meta> tags).

Examples that trigger this optimization

This particular optimization will be activated for any webpage including a <noscript> statement within the <head> segment.

<!doctype html><html lang="en">  <head>    <noscript>Your browser does not support JavaScript!</noscript>    ...  </head>  <body>...  </body></html>

Why is this optimization marked 'Insight'?

Loud Interactive considers this optimization as 'Insight' because it's designed to draw your attention to a potential area of focus, rather than directly pointing out a flaw requiring immediate correction.

While the inclusion of a <noscript> element in the <head> is not strictly prohibited, it needs to be handled with care to avoid unintended consequences. Contain only relevant elements like <link>, <style>, and <meta> within the <noscript> and you are less likely to encounter problems requiring intervention.

Further Reading



bottom of page