Copyright © tutorialspoint.com

HTML <noscript> tag



Advertisements

Function:

The HTML <noscript> tag is used to handle the browsers which do recognize <script> tag but do not support scripting. This tag is used to display alternate text message.

Difference between HTML and XHTML:

NONE

Example:

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

Online Practice:

To Become more comfortable - Do Online Practice

Attributes:

AttributeDescription
classDocument wide identifier
dirSpecifies the direction of the text
idDocument wide identifier
titleSpecifies a title to associate with the element.
styleHelps to include inline casecadubf style sheet.
langSets the language code.
xml:langSets the language code.

Copyright © tutorialspoint.com