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

Chapter 1. An Overview of Javascript > Cross-Browser Concerns

Cross-Browser Concerns

I mentioned earlier that your goal as a JavaScript programmer is to structure the language's words and rules in such a way that the browser's page-reading machine understands and carries out your commands. That sounds like a straightforward idea, but there's a pretty big fly in the JavaScript ointment: browser compatibility. As you probably know from your HTML coding—or, even more so, from your style sheet coding—there are three problems that crop up constantly:

  • Browsers from different companies render HTML or style sheet codes in different ways.

  • Browsers from different companies don't support the same set of tags and styles. Some browsers have their own proprietary tags (such as Internet Explorer's <marquee> tag and Netscape's <layer> tag) and some browsers lack support for tags and styles that are considered to be standard.

  • Older browsers (including older versions of browsers from the same company) don't support all of the features found in newer browsers.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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