Loading...
HTML <noscript> Tag

HTML <noscript> Tag

In this tutorial, we will learn about noscript tag in HTML with the help of examples.


<noscript> Tag

Noscript tag <noscript> is used to define an alternate text which is displayed to the user when when the script is disable in the browser or the user have a browser that doesn't support script.

Note : We can use <noscript> tag in both <head> and <body> tag.

Syntax

<noscript>.........</noscript>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Noscript Tag</title>
    <script src = "Javascript/main.js"></script>
  </head>
  <body>
    <noscript>Your browser doesn't support scripts. Please update your browser.</noscript>
  </body>
</html>

Global Attribute

Noscript Tag support all the global attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of <noscript> tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML <object> Tag.

- Related Topics