# class HTMLObjectElement

###

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

Generic embedded object. Note. In principle, all properties on the object element are read-write but in some environments some properties may be read-only once the underlying object is instantiated. See the OBJECT element definition in HTML 4.0.

### methods

- HTMLObjectElement ( )

  returns ctor

- HTMLObjectElement (other)

  returns ctor

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

- HTMLObjectElement (other)

  returns ctor

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

- HTMLObjectElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLObjectElementImpl |

- 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.

- archive ( )

  returns DOM.DOMString

  Space-separated list of archives. See the archive attribute definition in HTML 4.0.

- border ( )

  returns DOM.DOMString

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

- code ( )

  returns DOM.DOMString

  Applet class file. See the code attribute for HTMLAppletElement.

- codeBase ( )

  returns DOM.DOMString

  Base URI for classid , data , and archive attributes. See the codebase attribute definition in HTML 4.0.

- codeType ( )

  returns DOM.DOMString

  Content type for data downloaded via classid attribute. See the codetype attribute definition in HTML 4.0.

- contentDocument ( )

  returns DOM.Document

  Introduced in DOM Level 2

  Returns the document this iframe contains, if there is any and it is available, a Null document otherwise. The attribute is read-only.

  Returns The content Document if available.

- data ( )

  returns DOM.DOMString

  A URI specifying the location of the object's data. See the data attribute definition in HTML 4.0.

- declare ( )

  returns bool

  Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.0.

- form ( )

  returns DOM.HTMLFormElement

  Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

- getHspace ( )

  returns long

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

- getVspace ( )

  returns long

  Vertical space, in pixels, above and below this image, applet, or object. See the vspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

- height ( )

  returns DOM.DOMString

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

- hspace ( )

  returns DOM.DOMString

  Deprecated

- name ( )

  returns DOM.DOMString

  Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

- setAlign (a0)

  returns Nothing

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

  see align

- setArchive (a0)

  returns Nothing

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

  see archive

- setBorder (a0)

  returns Nothing

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

  see border

- setCode (a0)

  returns Nothing

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

  see code

- setCodeBase (a0)

  returns Nothing

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

  see codeBase

- setCodeType (a0)

  returns Nothing

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

  see codeType

- setData (a0)

  returns Nothing

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

  see data

- setDeclare (a0)

  returns Nothing

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

  see declare

- setHeight (a0)

  returns Nothing

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

  see height

- setHspace (a0)

  returns Nothing

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

  see hspace

- setHspace (a0)

  returns Nothing

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

  Deprecated

- setName (a0)

  returns Nothing

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

  see name

- setStandby (a0)

  returns Nothing

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

  see standby

- setTabIndex (a0)

  returns Nothing

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

  see tabIndex

- setType (a0)

  returns Nothing

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

  see type

- setUseMap (a0)

  returns Nothing

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

  see useMap

- setVspace (a0)

  returns Nothing

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

  see vspace

- setVspace (a0)

  returns Nothing

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

  Deprecated

- setWidth (a0)

  returns Nothing

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

  see width

- standby ( )

  returns DOM.DOMString

  Message to render while loading the object. See the standby attribute definition in HTML 4.0.

- tabIndex ( )

  returns long

  Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

- type ( )

  returns DOM.DOMString

  Content type for data downloaded via data attribute. See the type 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 DOM.DOMString

  Deprecated

- width ( )

  returns DOM.DOMString

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