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

Chapter 9. Using the document and body O... > The document Object Collections

The document Object Collections

One thing that the document object is good for is giving you access to the objects in a web page, organizing things from the top down. Not only does it have the getElementById, getElementsByName, and getElementsByTagName methods, but it also supports the collections (that is, object arrays) you see in Table 9.3. (For the definition of a particular collection, see Table 9.2.)

Table 9.3. The Collections of the document Object
Properties  
all anchors applets
childNodes embeds forms
frames images ids
layers links namespaces
scripts styleSheets tags



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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