June 1999
Intermediate to advanced
540 pages
21h 39m
English
Image — an image embedded in an HTML document
Client-side JavaScript 1.1
HTMLElement
document.images[i] document.images.length document.image-name
new Image (width,height)
Image inherits properties from HTMLElement and defines or overrides the following:
The border width of an image.
Whether an image load is complete.
The height of an image.
The horizontal padding for an image.
An alternate image for low-resolution displays.
The name of an image.
The URL of the embedded image.
The vertical padding for an image.
The width of an image.
Image inherits event handlers from HTMLElement and also defines the following:
The handler invoked when user aborts image loading.
The handler invoked when an error occurs during image loading.
The handler invoked when an image finishes loading.
Read now
Unlock full access