Download Professional JavaScript for Web Developers (3rd Edition) by Nicholas C. Zakas PDF

The main purpose of this format was to keep external file references, both CSS fi les and JavaScript files, in the same area. However, including all JavaScript fi les in the of a document means that all of the JavaScript code must be downloaded, parsed, and interpreted before the page begins rendering (rendering begins when the browser receives the opening tag).

The syntax to include external files is the same for both HTML and XHTML. 5 introduced the concept of document modes through the use of doctype switching. The fi rst two document modes were quirks mode, which made Internet Explorer behave as if it were version 5 (with several nonstandard features), and standards mode, which made Internet Explorer behave in a more standards-compliant way. Though the primary difference between these two modes is related to the rendering of content with regard to CSS, there are also several side effects related to JavaScript.

Download PDF sample

Rated 4.94 of 5 – based on 3 votes