THE <NOSCRIPT> ELEMENT
Of particular concern to early browsers was the graceful degradation of pages when the browser didn't support JavaScript. To that end, the <noscript> element was created to provide alternate content for browsers without JavaScript. Although effectively 100% of browsers now support JavaScript, this element is still useful for browsers that explicitly disable JavaScript.
The <noscript> element can contain any HTML elements, aside from <script>, that can be included in the document <body>. Any content contained in a <noscript> element will be displayed under only the following two circumstances:
- The browser doesn't support scripting.
- The browser's scripting support is turned off.
If either of these conditions is met, then the content inside the <noscript> element is rendered. In all other cases, the browser does not render the content of <noscript>.
Here is a simple example:
<!DOCTYPE html><html...