Special Message for Bots and Non-JavaScript Browsers
The video describes how to send a message to bots and to browsers that have JavaScript turned off or disabled. Browsers with JavaScript enabled ignore the message.
Source code is below the video.
There is a way to send a message to bots and to browsers that have JavaScript turned off or disabled.
The message might be a special link presented for bots to follow.
Or you might have a feature on your web page that uses JavaScript. Without bothering people who's browsers comply, you can present a message to those with JavaScript disabled.
Here's an example.
<noscript> Your special message here. </noscript>
The noscript
tag ensures only browsers (and robots/spiders) that don't parse JavaScript will get the message.
The message may contain HTML markup.
Note: To test the above code, you'll need to temporarily disable your browser's JavaScript or turn it off.
Will Bontrager