C H A P T E R  26

Working with the Document Object

In this chapter, I introduce you to one of its key components of the DOM: the Document object. The Document object is the gateway to the functionality of the DOM and provides you with information about the current document and a set of features to explore, navigate, search, and otherwise manipulate the structure and content. Table 26-1 provides the summary for this chapter.

Image

Image

You access the Document object through the global document variable; this is one of the key objects that the browser creates ...

Get The Definitive Guide to HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.