How to Handle Simple Browsers | JavaScript

Browsers that do not support JavaScript will display JavaScript as page content. To prevent them from doing this and as a part of the JavaScript standard, the HTML comment tag should be used to “hide” the JavaScript. Just add an HTML comment tag <!-- before the first JavaScript statement, and an end-of–comment tag --> after the last JavaScript statement, like this:
Share on Google Plus

About rourn vireak

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

1 comments:

  1. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing UC mini download

    ReplyDelete