In this article we are going to explain what is <noscript> tag in html or why use noscript tag in HTML or how to use noscript element in html with example.
The HTML <noscript> tag defines alternate text or HTML to be inserted if a script type is not supported or if the browser has disabled scripting. This tag is also commonly referred to as the <noscript> element.
HTML <noscript> Tag Syntax:
//write alternate html or text here
Ø The HTML <noscript> element is found either within the <head> tag or the <body> tag.
Ø The <noscript> tag will display alternate HTML content if the script type is not supported or if the browser has scripting disabled.
Ø If the scripting is enabled on the browser, the <noscript> tag will not display content on the page.
Example of HTML noscript code
<title>This is the example of noscript tag</title>
document.write("Hello sqltutorialspoint.com !")
I hope this article will help to you after reading.