Signup/Sign In

HTML Noscript Tag

In HTML, the <noscript> tag is used to define a section of HTML in case of off-scripting in the browser or in case of unsupported script type.

  • Basically <noscript> tag is used as an alternate text in case if your browser does not support the script.

  • Whenever one is going to use <noscript> tag inside <head> tag in that case only <link> ,<style> and <meta> tags must be used along with <noscript> tag.

  • Also, this is a Block-level element.

  • Although, this tag can be used inside <body> tag as well as inside <head> tag.

  • The content is written inside the opening and closing end of <noscript> tag is visible only in case if your browser does not support the script.

HTML <noscript> Tag Syntax and Usage

The <noscript> tag requires the start(opening) tag and end(closing) tag.

Below we have a basic syntax for the same:

<noscript>
....content here
</noscript>

HTML <noscript> Tag Basic Example

Below we have a basic example for a clear understanding of the <noscript> tag:

HTML <noscript> Tag Attributes

This element does not have any specific attributes although this element supports Global and Event attributes.

Default CSS Settings for HTML <noscript> Tag

None

Browser Support for HTML <noscript> Tag

Following browsers support this attribute:

  • Firefox 1+

  • Google Chrome 1+

  • Internet Explorer 3+

  • Safari 1+

  • Opera 4+



About the author:
Aspiring Software developer working as a content writer. I like computer related subjects like Computer Networks, Operating system, CAO, Database, and I am also learning Python.