HTML DOM Object Object

« Previous Chapter Next Reference »

Object Object

The Object object represents an HTML object element.

The <object> tag is used to include objects such as images, audio, videos, Java applets, ActiveX, PDF, and Flash into a webpage.

Object Properties

W3C: W3C Standard.

Property Description W3C
align Sets or returns the alignment of the object according to the surrounding text Yes
archive Sets or returns a string that can be used to implement your own archive functionality for the object Yes
border Sets or returns the border around the object Yes
code Sets or returns the URL of the file that contains the compiled Java class Yes
codeBase Sets or returns the URL of the component Yes
codeType   Yes
data   Yes
declare   Yes
form Returns a reference to the object's parent form Yes
height Sets or returns the height of the object Yes
hspace Sets or returns the horizontal margin of the object Yes
name Sets or returns the name of the object Yes
standby Sets or returns a message when loading the object Yes
type Sets or returns the content type for data downloaded via the data attribute Yes
useMap   Yes
vspace Sets or returns the vertical margin of the object Yes
width Sets or returns the width of the object Yes

Standard Properties, Methods, and Events

The Object object also supports the standard properties, methods, and events.


« Previous Chapter Next Reference »

Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!