Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Professional JavaScript for Web Developers - Fourth Edition

You're reading from  Professional JavaScript for Web Developers - Fourth Edition

Product type Book
Published in Nov 2019
Publisher Wiley
ISBN-13 9781119366447
Pages 1144 pages
Edition 4th Edition
Languages
Author (1):
Matt Frisbie Matt Frisbie
Profile icon Matt Frisbie

Table of Contents (37) Chapters

COVER
FOREWORD
INTRODUCTION 1 What Is JavaScript? 2 JavaScript in HTML 3 Language Basics 4 Variables, Scope, and Memory 5 Basic Reference Types 6 Collection Reference Types 7 Iterators and Generators 8 Objects, Classes, and Object-Oriented Programming 9 Proxies and Reflect 10 Functions 11 Promises and Async Functions 12 The Browser Object Model 13 Client Detection 14 The Document Object Model 15 DOM Extensions 16 DOM Levels 2 and 3 17 Events 18 Animation and Graphics with Canvas 19 Scripting Forms 20 JavaScript APIs 21 Error Handling and Debugging 22 XML in JavaScript 23 JSON 24 Network Requests and Remote Resources 25 Client-Side Storage 26 Modules 27 Workers 28 Best Practices A ES2018 and ES2019 B Strict Mode C JavaScript Libraries and Frameworks D JavaScript Tools INDEX
END USER LICENSE AGREEMENT

16
DOM Levels 2 and 3

WHAT'S IN THIS CHAPTER?

  • Changes to the DOM introduced in Levels 2 and 3
  • The DOM API for manipulating styles
  • Working with DOM traversal and ranges

The first level of the DOM focuses on defining the underlying structure of HTML and XML documents. DOM Levels 2 and 3 build on this structure to introduce more interactivity and support for more advanced XML features. As a result, DOM Levels 2 and 3 actually consist of several modules that, although related, describe very specific subsets of the DOM. These modules are as follows:

  • DOM Core—Builds on the Level 1 core, adding methods and properties to nodes.
  • DOM Views—Defines different views for a document based on stylistic information.
  • DOM Events—Explains how to tie interactivity to DOM documents using events.
  • DOM Style—Defines how to programmatically access and change CSS styling information.
  • DOM Traversal and Range—Introduces new interfaces for traversing a DOM document and...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}