DOM Object: HTMLObjectElement
|
Properties/Methods |
Functional Description |
Data |
Test Case |
|---|---|---|---|
| form | Returns the FORM element containing this control. | hobj001.html | |
| form | Find the Object in a page with no form. Returns null if control is not within the context of a form. | hobj002.html | |
| code | Applet class file. See the code attribute for HTMLAppletElement.:
This attribute specifies either the name of the class file that contains the applet's compiled applet subclass or the path to get the class, including the class file itself. It is interpreted with respect to the applet's codebase. One of code or object must be present. |
hobj003.html | |
| align | Align object horizontally with respect to its surrounding text. | test.gif | hobj004.html |
| align | Aligns object vertically with respect to its surrounding text. | test.gif | hobj005.html |
| align | Aligns object vertically & horizontally with respect to its surrounding text. | hobj006.html | |
| archive | Space-separated list of archives. | hobj007.html | |
| archive | Set & read | hobj008.html | |
| border | Read width of border around an object. | test.gif | hobj009.html |
| border | Read width of border around an object with no border set. | hobj010.html | |
| border | Set & read width of border around an object. | hobj011.html | |
| codeBase | Base URI for classid, data, and archive attributes. See the codebase attribute definition in HTML 4.0. | hobj012.html | |
| codeType | Content type for data downloaded via classid attribute. | hobj013.html | |
| data | A URI specifying the location of the object's data. | test.gif | hobj014.html |
| data | Set & read | hobj015.html | |
| declare | Declare (for future reference), but do not instantiate, this object. | hobj024.html | |
| height | Override height. | test.gif | hobj016.html |
| height | Set & read | hobj017.html | |
| hspace | Horizontal space to the left and right of this image, applet, or object. | test.gif | hobj018.html |
| hspace | Set & read | hobj019.html | |
| name | Form control or object name when submitted with a form | hobj020.html | |
| standby | Message to render while loading the object. | hobj021.html | |
| standby | Set & read | hobj022.html | |
| tabIndex | Index that represents the element's position in the tabbing order. | hobj023.html | |
| tabIndex | Set & read | hobj026.html | |
| type | Content type for data downloaded via data attribute. | hobj027.html | |
| type | Set & read | hobj028.html | |
| useMap | Use client-side image map. See the usemap attribute definition in HTML 4.0. | hobj029.html | |
| vspace | Vertical space above and below this image, applet, or object. | test.gif | hobj030.html |
| vspace | Set & read | hobj031.html | |
| width | Override width. | test.gif | hobj034.html |
| width | Set & read | hobj035.html | |
| contentDocument (DOM 2) |
The document this object contains, if there is any and it is available, or null otherwise. readonly | hobj036.html | |
| Element | tests methods inherited from element | eobject.html | |
| HTMLElement | tests attr's inherited from htmlelement | helmobj.html |