HTML and CSS Reference
In-Depth Information
sessiOn 13.1 visual Overview
The
document object model
is used to
organize all of the of
b
jects in a Web
page document in a
tree-like hierarchy.
The
window
object is the
topmost object in the hierarchy
and contains all other objects.
window
document
event
frames
location
history
navigator
screen
plugins
mimeTypes
anchors
links
applets
plugins
embeds
scripts
frames
stylesheets
images
forms
elements
JavaScript organizes objects into
array-like structures called
object
collections
in which individual objects
can be referenced by index numbers;
for instance,
document.images[i]
references an inline image element in
the Web page.