What is the role of the <noscript>
element in the following code?
<head>
<noscript>
<style>
body { background-color: #f3f3f3; }
</style>
</noscript>
</head>
<noscript>
<a href="https://www.mozilla.org/">External Link</a>
</noscript>
<p>Rocks</p>
With scripting enabled, only "Rocks" is displayed.
When scripting is enabled, the content inside the <noscript>
element is ignored by the browser. Therefore, the link to "External Link" is not shown, and only the text "Rocks" is rendered on the page.
<p>Rocks</p>
<noscript>
element in the following code?<head>
<noscript>
<style>
body { background-color: #f3f3f3; }
</style>
</noscript>
</head>
<noscript>
element be placed within an HTML document?<noscript>
element?<noscript>
element be used to load external scripts?