The <noscript> tag in HTML is used to display the text for those browsers which does not support script tag or the browsers disable the script by the user. This tag is used in both <head> and <body> tag.
Note: This tag is used in those browsers only which does not support scripts.
Syntax:
<noscript> Contents... </noscript>
Below example illustrates the <noscript> tag in HTML:
Example:
HTML
< html >
< body >
< h1 >GeeksforGeeks</ h1 >
< h2 >HTML noscript Tag</ h2 >
< script >
document.write("GeeksforGeeks!")
</ script >
< noscript >A computer science portal</ noscript >
</ body >
</ html >
|
Output:

Supported Browsers:
- Google Chrome
- Edge 12
- Internet Explorer
- Firefox 1
- Opera
- Safari
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape,
GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out -
check it out now!
Last Updated :
26 Jul, 2022
Like Article
Save Article