HTML <noscript> Tag

Description

The <noscript> container displays its contents if the browser does not support working with scripts or their support is disabled by the user. In other cases, the browser ignores this element and everything that is located inside it.

Properties

Permitted Parents
Any element that accepts phrasing content, if there are no ancestor <noscript> element, or in a <head> element (but only for an HTML document), here again if there are no ancestor <noscript> element
Content
Block, inline, and text when it isn't a descendant of the <head> element; Otherwise <link>, <style>, and <meta> elements.
Start/End Tags
Start tag: required, End tag: required

Example

HTML
<script type="text/javascript">
document.write("Hello World!")
</script>
<noscript>Your browser does not support JavaScript!</noscript>
Result

Attributes

None

Global Attributes

The <object> tag also supports the Global Attributes in HTML5

Event Attributes

The <object> tag also supports the Event Attributes in HTML5

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
YesYesYes1YesYes
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYes4YesYesYes