Home → References → HTML Tags →
HTML Tag: object
An embedded multimedia object. Often used in conjunction with param.
HTML Dog is hosted by Titan Internet
Required Attributes
- None.
Optional Attributes
classidcan be used to specify the location of the object in the form of a URL or Windows Registry location.datacan be used to specify the location of the data for the object in the form of a URL.codebasecan be used to specify the base location from which relative URLs specified in theclassid,dataandarchiveattributes should be taken.declarecan be used to specify that the object is a declaration only. It must be used in the formatdeclare="declare".typecan be used to specify the content type of the data specified by the data attribute.codetypecan be used to specify the content type of the object.archivecan be used to specify resources relevant to the object. The value should be a URL or a number of URLs separated by spaces.standbycan be used to specify text that will be displayed while the object is loading.widthcan be used to specify the width of the object (in pixels). This can also be done with CSS.heightcan be used to specify the height of the object (in pixels). This can also be done with CSS.namecan be used to specify a name by which the object can be referenced.tabindexcan be used to specify where the element appears in the tab order of the page.- Common attributes
Example
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="someplace/swflash.cab" width="200" height="300" id="penguin">
<param name="movie" value="flash/penguin.swf" />
<param name="quality" value="high" />
<img src="images/penguin.jpg" width="200" height="300" alt="Penguin" />
</object>

