Document Object Model: all Object


The script in this example will list all of the HTML elements used in this document. The script uses the length property of the all collection and the tagName properties of each object in that collection.


Jim O'Donnell, jim@odonnell.org