It is used to define an alternate content to be displayed to users that have disabled scripts in their browser or have a browser that doesn't support script.
The <noscript>
element can be used in both <head>
and <body>
.
When scripting is disabled and is used inside <head>
it can only contain <link>
, <style>
or <meta>
elements.
When scripting is disabled and isn't used inside <head>
it can contain any transparent content, but no <noscript>
element must be among its descendants.
Otherwise it may contain flow content or phrasing content.
- Type: -
- Self-closing: No
- Semantic value: No
Top comments (0)