Home Tutorial Html Html5 HTML5 noscript tag, Use and implementation of <noscript> tag.

 
 

Share on Google+Share on Google+
HTML5 noscript tag, Use and implementation of <noscript> tag.
Posted on: September 10, 2010 at 12:00 AM
Advertisement
In this tutorial, we will introduce you about the <noscript> tag.

HTML5 noscript tag, Use and implementation of <noscript> tag.

Description:

The <noscript> tag is available in both HTML5 and HTML4.01. It tells, that the browser does not support script. The content present in <noscript> tag will be display when script not support by browser. In HTML4.01, the <noscript> tag can be used in body tag. But in HTML5, It can be use in both <head> and <body>.

Declaration Syntax :
Declaration syntax of <noscript> in HTML5.
<noscript>Content </noscript>

Example of <nav> in HTML5:

Code:
NoscriptTag.html
<!doctype html>
<html>
<body>
<h1>Example of noscript tag!</h1>
<script type="text/javascript">
document.write("Bharat Singh");
</script>
<noscript>Browser not support javascript.</noscript>
</body>
</html>
Output:
 script supporting browser

Script not supported by browser.

Download this code

Difference Between HTML5 and HTML4.01:

The noscript tag is available in both HTML5 and HTML4.01. So no difference.

Advertisement

Related Tags for HTML5 noscript tag, Use and implementation of <noscript> tag.:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 10, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com