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

Chapter 20. Core DOM Objects

The Document Object Model (DOM) is a representation of each document as a hierarchy of objects. This includes the document itself as an object. This chapter explains the core features of the Document Object Model, implemented in Internet Explorer 5 and Netscape 6.

The DOM, in short, provides a standardized way for languages such as JavaScript to access and manipulate documents in general. This includes editing form fields (a feature available since the earliest days of JavaScript) and tables (a feature available only with the DOM). The DOM applies primarily to XML and HTML documents, with some XML languages (such as SVG and MathML) having their own object models which extend the Core DOM. (The Core DOM applies to all XML and HTML documents; the HTML DOM, covered in most later chapters, applies only to HTML documents.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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