HTMLImageElement : HTMLElement
HTMLImageElement is an element that displays an image. It corresponds to the <img> tag. See also Image.Instance Properties
height : Number
The display height (in pixels) of the image. If not set, the height will be naturalHeight after the image loads.
Example:
RunResults:
naturalHeight : Number
naturalWidth : Number
width : Number
The display width (in pixels) of the image. If not set, the width will be naturalWidth after the image loads.
Example:
RunResults:
Instance Events
Copyright © JavaScripture Contributors