# class HTMLImageElement

###

Module | khtml
Namespace | DOM
Class | HTMLImageElement
Inherits | DOM::HTMLElement

Embedded image. See the IMG element definition in HTML 4.0.

### methods

- HTMLImageElement ( )

  returns ctor

- HTMLImageElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLImageElement |

- HTMLImageElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLImageElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLImageElementImpl |

- align ( )

  returns DOM.DOMString

  Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

- alt ( )

  returns DOM.DOMString

  Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.0.

- border ( )

  returns long

  Deprecated

- getBorder ( )

  returns DOM.DOMString

  Width of border around image. See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

- height ( )

  returns long

  Override height. See the height attribute definition in HTML 4.0.

- hspace ( )

  returns long

  Horizontal space to the left and right of this image. See the hspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

- isMap ( )

  returns bool

  Use server-side image map. See the ismap attribute definition in HTML 4.0.

- longDesc ( )

  returns DOM.DOMString

  URI designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.0.

- name ( )

  returns DOM.DOMString

  The name of the element (for backwards compatibility).

- setAlign (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see align

- setAlt (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see alt

- setBorder (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see border

- setBorder (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  Deprecated

- setHeight (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see height

- setHspace (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see hspace

- setIsMap (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

  see isMap

- setLongDesc (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see longDesc

- setName (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see name

- setSrc (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see src

- setUseMap (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see useMap

- setVspace (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see vspace

- setWidth (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see width

- src ( )

  returns DOM.DOMString

  URI designating the source of this image. See the src attribute definition in HTML 4.0.

- useMap ( )

  returns DOM.DOMString

  Use client-side image map. See the usemap attribute definition in HTML 4.0.

- vspace ( )

  returns long

  Vertical space above and below this image. See the vspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

- width ( )

  returns long

  Override width. See the width attribute definition in HTML 4.0.

- x ( )

  returns long

  Nonstandard extension to DOM.ImgElement

- y ( )

  returns long