HTML DOM Object objekt
Object object
Object object represents the HTML <object> element.
Access Object object
You can access the <object> element using getElementById():
var x = document.getElementById("my object");
Create Object object
You can create an <object> element using the document.createElement() method:
var x = document.createElement("OBJECT");
Object properties
Properties | Description |
---|---|
align |
Not supported in HTML5.Please use style.cssFloat. Set or return the alignment of the object relative to the surrounding text. |
archive |
Not supported in HTML5. Set or return a string value that can be used to implement your own object archiving function. |
border |
Not supported in HTML5.Please use style.border. Set or return the border around the object. |
code |
Not supported in HTML5. Set or return the URL of the file containing compiled Java classes. |
codeBase |
Not supported in HTML5. Set or return the URL of the component. |
codeType | Not supported in HTML5. |
data | Set or return the URL of the resource to be used by the object. |
declare | Not supported in HTML5. |
form | Return a reference to the object's parent window form. |
height | Set or return the height of the object. |
hspace |
Not supported in HTML5.Please use style.margin. Set or return the horizontal outer margin of the object. |
name | Set or return the name of the object. |
standby |
Not supported in HTML5. Set or return the message when loading the object. |
type | Set or return the content type of the data downloaded through the data attribute. |
useMap | Set or return the name of the client-side image map to be used with the object. |
vspace |
Not supported in HTML5.Please use style.margin. Set or return the vertical outer margin of the object. |
width | Set or return the width of the object. |
Standard properties and events
Object object supports standardsPropertiesandEvents.
Related pages
HTML referencemanual:HTML <object> tag