

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to handle when JavaScript is turned off?
Nowadays, almost every web browser supports JavaScript. If it is turned off, you can use <noscript> tag. To let users know about non-JavaScript web browsers, use the <noscript> tag. The HTML <noscript> tag is used to handle the browsers, which do recognize <script> tag but do not support scripting. This tag is used to display an alternate text message.
Example
<!DOCTYPE html> <html> <head> <title>HTML noscript Tag</title> </head> <body> <script type = "text/JavaScript"> <!-- document.write("Hello JavaScript!") --> </script> <noscript> Your browser does not support JavaScript! </noscript> </body> </html>
- Related Questions & Answers
- How to Handle JavaScript Events in HTML?
- How to handle the withdrawal effects when you stop smoking suddenly?
- How to handle bind an event using JavaScript?
- What is Handle?
- How to create an off-canvas menu with CSS and JavaScript?
- How to handle when checkbox 'checked state' changed event in jQuery?
- What is Risk-Return Trade-off?
- How to handle ESC keydown on JavaScript popup window?
- How to detect airplane mode is on or off in Android?
- Rounding off numbers to some nearest power in JavaScript
- Shedding a string off whitespaces in JavaScript
- Switching on and off bulb in JavaScript
- How to disable Javascript when using Selenium?
- How to compare two arrays when the key is a string - JavaScript
- Trim off '?' from strings in JavaScript
Advertisements