The image Object [3]

The image object reflects an image included in an HTML document.

Properties

  • border— An integer value reflecting the width of the image's border in pixels.

  • complete— A Boolean value indicating whether the image has finished loading.

  • height— An integer value reflecting the height of an image in pixels.

  • hspace— An integer value reflecting the hspace attribute of the <img/> element.

  • lowsrc— A string value containing the URL of the low-resolution version of the image to load.

  • name— A string value indicating the name of the image object.

  • prototype— Provides a mechanism for adding properties as an image object.

  • src— A string value indicating the URL of the image.

  • vspace— An integer value reflecting the vspace attribute of the <img> element. ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.