Interface

HTMLImageElement

HTMLImageElement

Provides special properties and methods for manipulating elements.

View Source js/lib.dom.d.ts, line 2606

Members

string

# align

Sets or retrieves how the object is aligned with adjacent text.

View Source js/lib.dom.d.ts, line 2609

string

# alt

Sets or retrieves a text alternative to the graphic.

View Source js/lib.dom.d.ts, line 2614

string

# border

Specifies the properties of a border drawn around an object.

View Source js/lib.dom.d.ts, line 2619

boolean

# complete

Retrieves whether the object is fully loaded.

View Source js/lib.dom.d.ts, line 2624

number

# height

Sets or retrieves the height of the object.

View Source js/lib.dom.d.ts, line 2629

number

# hspace

Sets or retrieves the width of the border to draw around the object.

View Source js/lib.dom.d.ts, line 2634

boolean

# isMap

Sets or retrieves whether the image is a server-side image map.

View Source js/lib.dom.d.ts, line 2639

string

# longDesc

Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.

View Source js/lib.dom.d.ts, line 2644

string

# lowsrc

Deprecated:
  • Yes

View Source js/lib.dom.d.ts, line 2649

string

# name

Sets or retrieves the name of the object.

View Source js/lib.dom.d.ts, line 2653

number

# naturalHeight

The original height of the image resource before sizing.

View Source js/lib.dom.d.ts, line 2658

number

# naturalWidth

The original width of the image resource before sizing.

View Source js/lib.dom.d.ts, line 2663

string

# src

The address or URL of the a media resource that is to be considered.

View Source js/lib.dom.d.ts, line 2668

string

# useMap

Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.

View Source js/lib.dom.d.ts, line 2673

number

# vspace

Sets or retrieves the vertical margin for the object.

View Source js/lib.dom.d.ts, line 2678

number

# width

Sets or retrieves the width of the object.

View Source js/lib.dom.d.ts, line 2683