Certified HTML5 Developer Learning Resources object tag and attributes

Learning Resources
 

object tag and attributes


The HTML tag is used to embed multimedia in an HTML document. The tag is also used along with this tag to define various parameters.

Example:

 
 
 

 

Attributes:

Attribute Value Description
align left
right
top
bottom
Defines visual alignment of the object
archive URL A space separated list of URL's to archives.
border pixels Specifies border width around the object
classid Class ID Defines a class ID value as set in the Windows Registry or a URL.
codebase URL Specifies tha path where object code is located.
codetype mime type The internet media type of the code referred to by the classid attribute.
data URL Specifies the URL for Object data.
declare declare Defines that the object should only be declared, not created or instantiated until needed.
height pixels Specifies the hight of the object.
hspace pixels Specifies the horizontal space around the object.
name object name Specifies a unique name for the object
standby text Defines a text to display while the object is loading.
type mime type Defines the MIME type of data specified in the data attribute.
usemap URL Specifies a URL of a client-side image map to be used with the object
vspace pixels Specifies the vertical space around the object.
width pixels Specifies the width of the object.

 

 For Support