• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 18. Scripts > Hiding Scripts from Older Browsers

Hiding Scripts from Older Browsers

Older browsers don’t always understand the script tag. If they don’t, they’ll just ignore it and display your script as if it were part of the body of the (X)HTML document. To keep that from happening, it’s a good idea to use commenting to hide scripts from older browsers.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint