THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Object Object


Object Object

The object speaks to a HTML <object> element.

Access an Object Object

You can get to a <object> component by utilizing getElementById():

var x = document.getElementById("myObject");

Create an Object Object

You can make a <object> component by utilizing the document.createElement() method:

var x = document.createElement("OBJECT");

Object Properties

= Property included HTML5.

Property Description
align Not bolstered in HTML5. Use style.cssFloat instead.
Sets or returns the arrangement of the article as per the encompassing text
archive Not bolstered in HTML5.
Sets or returns a string that can be utilized to execute your claim file usefulness for the object
border Not bolstered in HTML5. Use style.border instead.
Sets or returns the fringe around the object
code Not bolstered in HTML5.
Sets or returns the URL of the document that contains the arranged Java class
codeBase Not bolstered in HTML5.
Sets or returns the URL of the component
codeType Not upheld in HTML5.
data Sets or returns the URL of the asset to be utilized by the object
declare Not bolstered in HTML5.
form Returns a reference to the article's parent form
height Sets or returns the stature of the object
hspace Not bolstered in HTML5. Use style.margin instead.
Sets or returns the even edge of the object
name Sets or returns the name of the object
standby Not upheld in HTML5.
Sets or returns a message when stacking the object
type Sets or returns the substance type for information downloaded through the information attribute
useMap Sets or returns the name of a customer side picture guide to be utilized with the object
vspace Not bolstered in HTML5. Use style.margin instead.
Sets or returns the vertical edge of the object
width Sets or returns the width of the object