1. Technology

<noscript></noscript>

By

NOSCRIPT Description:

The NOSCRIPT tag defines the content that is displayed when a browser agent cannot render the preceding script. The NOSCRIPT tag makes JavaScript and other brower-side scripting languages accessibile to user-agents that cannot load scripts, or have scripting turned off.

NOSCRIPT Web Browser Support:

HTML Versions

NOSCRIPT Attributes:

NOSCRIPT End Tag:

</noscript> REQUIRED

NOSCRIPT Contents:

text and HTML. The following tags are valid within the NOSCRIPT tag:
a, abbr, acronym, address, applet, b, basefont, bdo, big, blockquote, br, button, center, cite, code, dfn, dir, div, dl, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, hr, i, iframe, img, input, isindex, kbd, label, map, menu, object, ol, p, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, textarea, tt, u, ul, var

NOSCRIPT Valid Context:

The <noscript></noscript> tag is valid within the following tags:
blockquote, body, button, center, dd, div, dt, fieldset, form, iframe, li, noframes, object, td, th

NOSCRIPT Usage:

standard NOSCRIPT tag

<script src="javascript" language="JavaScript"></script>
<noscript>
  JavaScript is required to access this part of the page. Please enable JavaScript.
</noscript>

NOSCRIPT Special Notes:

  • Use the NOSCRIPT tag with every script to ensure accessibility.
  • Remember that many people turn off scripting in browsers for security. The NOSCRIPT tag will display in these instances as well.
  • The NOSCRIPT tag can be used with any type of SCRIPT tag — it doesn’t have to be JavaScript.
  • Think of the NOSCRIPT tag as alternative text for your scripts. It only displays if the script cannot execute.

More NOSCRIPT Information:

  1. About.com
  2. Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The NOSCRIPT Tag - content for javascript deprived browsers - HTML NOSCRIPT Tag

©2014 About.com. All rights reserved.