In some cases users disable scripts in their browser (user-agent) or the browser they’re using doesn’t support scripts. The no script can be used in the HTML document to instruct the browser what to do if scripting is turned off or is not supported. The
noscript element can be used in the
<body> of your HTML document. The noscript tag is not supported in XHTML.
noscript in the head
When using the tag in the head then it can only contain the following elements:
Example of noscript
Browser support and usage
<noscript> tag is well supported across all browsers. To use the tag it must have both the starting and ending tag.
- HTML Media Capture
- Scroll to text fragment: How to link & highlight any text on a web page
- A Guide to HTML Tables
Michael Gearon is a Senior Interaction Designer at Companies House in Cardiff. Previously Mike was a product designer at the GoCo Group including GoCompare, MyVoucherCodes and WeFlip. As well working for brands in South Wales like BrandContent and HEOR.