Summary -

In this topic, we described about the <noscript> tag along with detailed example.

The <noscript> tag represents alternative content for users when browser doesn't support scripts. <noscript> is used if scripting is unsupported or disabled. <noscript> element can be used in both <head> and <body>.

If <noscript> element coded inside the <head> element, <noscript> must contain only <link>, < style>, and <meta> elements. The content in <noscript> can be viewable by only those who have scripting disabled.

If scripting is enabled, the user won't see this content. The <noscript> tag can be used in combination with the <script> tag.

Syntax -


Example -

<!DOCTYPE html>
<html lang="en">
		<title>Link Tag</title>
			document.write("Hello World!")
			<link href="temp.css" rel="stylesheet">
		<!-- Content of the HTML document -->

Output -