HTMLObjectElement Interface


The HTMLObjectElement Interface represents a generic embedded object.
IDL Definition

Interface HTMLObjectElement : HTMLElement {

           attribute  HTMLFormElement            form;
           attribute  DOMString                  code;
           attribute  DOMString                  align;
           attribute  DOMString                  archive;
           attribute  DOMString                  border;
           attribute  DOMString                  codeBase;
           attribute  DOMString                  codeType;
           attribute  DOMString                  data;
           attribute  boolean                    declare;
           attribute  DOMString                  height;
           attribute  DOMString                  hspace;
           attribute  DOMString                  name;
           attribute  DOMString                  standBy;
           attribute  long                       tabIndex;
           attribute  DOMString                  type;
           attribute  DOMString                  useMap;
           attribute  DOMString                  vspace;
           attribute  DOMString                  width;
};

Semantic Requirements

  1. The form attribute contains the FORM element containing this control or null if no form is used.
  2. The code attribute is an Applet class file.
  3. The align attribute aligns this object (vertically or horizontally) with respect to the surrounding text.
  4. The archive attribute is a space-separated list of archives.
  5. The border attribute contains the width of border around the object.
  6. The codeBase attribute contains the base URI for the classid, data, and archive attributes.
  7. The codeType attribute contains the content type for data downloaded via the classid attribute.
  8. The data attribute is a URI specifying the location of the object's data.
  9. The declare attribute declares (for future reference), but do not instantiate, this object.
  10. The height attribute override height.
  11. The hspace attribute contains the horizontal space to the left and right of this image, applet or object.
  12. The standby attribute contains a message to render while loading the object.
  13. The tabIndex attribute contains an index that represent the element's position in the tabbing order.
  14. The type attribute contains the content type for data downloaded via the data attribute.
  15. The useMap attribute contains the used client-side image map.
  16. The vspace attribute contains the vertical space above and below this image, applet, or object.
  17. The width attribute override width.

If you have comments or suggestions, email me at mbrady@nist.gov