HTMLObjectElement properties
|
Property name |
Type |
Description |
Status |
Support level |
Availability |
|---|---|---|---|---|---|
|
align |
DOMString |
Specifies the horizontal or vertical alignment of the object. |
writable |
4.6 or later |
|
|
archive |
DOMString |
Specifies a whitespace-separated list of URLs for archives which contain resources for the object. |
writable |
4.6 or later |
|
|
border |
DOMString |
Specifies the width of the border around the object. |
writable |
4.6 or later |
|
|
code |
DOMString |
Specifies the location of the class ID for the object. |
writable |
4.6 or later |
|
|
codeBase |
DOMString |
Specifies the root location for the object’s code and data. |
writable |
4.6 or later |
|
|
codeType |
DOMString |
Specifies the MIME type for the data downloaded for use by the object. |
writable |
4.6 or later |
|
|
contentDocument |
Returns the document this object contains, if there is one. If the object contains no document, this property returns null. |
read only |
4.6 or later |
||
|
data |
DOMString |
Specifies the URI that defines the location of the object’s data. |
writable |
4.6 or later |
|
|
declare |
boolean |
When true, indicates that this object should be declared, but not instantiated. |
writable |
4.6 or later |
|
|
form |
Returns the form that contains this object. If the object is not contained by a form, this property returns null. |
writable |
4.6 or later |
||
|
height |
DOMString |
Specifies the height of the object. |
writable |
4.6 or later |
|
|
hspace |
int |
Specifies the amount of whitespace, in pixels, inserted to the left and right of the object. |
writable |
4.6 or later |
|
|
name |
DOMString |
Specifies the name for the object. |
writable |
4.6 or later |
|
|
standby |
DOMString |
Specifies text to display while the object is loading. |
writable |
4.6 or later |
|
|
tabIndex |
int |
Specifies the object's position in the tabbing order. |
writable |
4.6 or later |
|
|
type |
DOMString |
Specifies the MIME type for the data specified by the data property. |
writable |
4.6 or later |
|
|
useMap |
DOMString |
Specifies the location of a client side map used with the object, if the object is an image. |
writable |
4.6 or later |
|
|
vspace |
int |
Specifies the amount of white space, in pixels, inserted above and below the object. |
writable |
4.6 or later |
|
|
width |
DOMString |
Specifies the width of the object. |
writable |
4.6 or later |