Adding Alternate Information

If you give your visitors access to information through scripts, you may want to provide an alternate method of getting that data if your visitor uses a browser—for example, on a mobile phone—that can’t run the scripts.

To add alternate information:

1.
Type <noscript>.
2.
Type the alternate information.
3.
Type </noscript>.
Figure 19.13. The noscript tag helps you take care of visitors who use a really old browser or one with scripting turned off.

✓ Tips

  • If a browser doesn’t understand the script tag, what hope is there that it will understand noscript? Actually it won’t. It will completely ignore it and treat ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.