Sobes.tech
Junior

What is the purpose of the <noscript> tag in HTML?

sobes.tech AI

Answer from AI

The <noscript> tag provides alternative content for users who have JavaScript disabled or not supported in their browsers.

Examples of usage:

<p>Loading data...</p>
<noscript>
  <p>Please enable JavaScript for full functionality.</p>
</noscript>

This allows providing basic information or functionality even if scripts are not executed, improving accessibility.