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
- The form attribute contains the FORM element containing this control or null if no form is used.
- The code attribute is an Applet class file.
- The align attribute aligns this object (vertically or horizontally) with respect to the surrounding text.
- The archive attribute is a space-separated list of archives.
- The border attribute contains the width of border around the object.
- The codeBase attribute contains the base URI for the classid, data, and archive attributes.
- The codeType attribute contains the content type for data downloaded via the classid attribute.
- The data attribute is a URI specifying the location of the object's data.
- The declare attribute declares (for future reference), but do not instantiate, this object.
- The height attribute override height.
- The hspace attribute contains the horizontal space to the left and right of this image, applet or object.
- The standby attribute contains a message to render while loading the object.
- The tabIndex attribute contains an index that represent the element's position in the tabbing order.
- The type attribute contains the content type for data downloaded via the data attribute.
- The useMap attribute contains the used client-side image map.
- The vspace attribute contains the vertical space above and below this image, applet, or object.
- The width attribute override width.
If you have comments or suggestions, email me at mbrady@nist.gov