Tag OBJECT

Description
Informs the browser how to download and display the object, which the browser does not accept. Such objects require the special module as a rule, which is called plugin, or special program launching.
HTML specification allows placing several tags <OBJECT> with different content to each other. It allows displaying the content which is supported by browser while there is no necessary plugin.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="..." height="..." codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="..." height="...">В </embed></object>
Parametrs
Align defines the way of the object alignment on the page and the way of the text floating.
Classid address of the program (application or plugin), which works with the object and will launch it.
Code name of Java applet to execute it
Codebase way to the folder with Java applet, which is indicated by code and classid parameter.
Codetype indicates the type of the object, which is defined by classid parameter.
Data address of the file for its displaying in the browser window.
Height height of the object
Hspace horizontal indent from the object to the content
Type MIME type of the object
Vspace vertical indent from the object to the content
Width width of the object
Closing Tag
Is optional.
The Description of Tag <META> Parameters
ALIGN Parameter
Description
Defines the alignment of the object on the page and the way of its displaying with the other underlying elements like text.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="absmiddle | baseline | bottom | left" /><embed type="application/x-shockwave-flash" width="100" height="100" align="absmiddle | baseline | bottom | left">В </embed></object>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="right | texttop | top | middle" /><embed type="application/x-shockwave-flash" width="100" height="100" align="right | texttop | top | middle"></embed></object>
Arguments
Absmiddle middle alignment of the middle of the object
Baseline alignment of the object according to the base line
Bottom bottom bound alignment
Left left alignment of the object
Middle middle alignment of the object according to the base line
Right right alignment of the object
Texttop top bound of the object is aligned according to the highest text element of the current line
Top top bound of the object is aligned according to the highest text element of the current line
Default value
Bottom
CLASSID Parameter
Description
Address of the program which works with the object and will download it. Parameter classid indicates the browser, which program, plugin or applet must be downloaded.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>
Arguments
Default value
No
CODE Parameter
Description
CODE parameter is used for replacing the tag <APPLET>, which downloads and executes Java applet. The name of Java applet class (file with class extention) is used as a value code. If the file is not in the same folder as the active document, you should indicate the way to it through the codebase parameter. Works only in Internet Explorer.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>
Arguments
The name of Java applet class
Default value
No
CODEBASE Parameter
Description
The way to the folder, where the file with the class, which is indicated in the value of code or classid parameter, is stored. Attribute codebase must contain the name of the folder, not the file.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>
Arguments
The way to the file with the class relative to the active document.
Default value
No
CODETYPE parameter
Description
Informs the browser about the type of the object, which is indicated in classid parameter. Browser can use this information in order to prepare the necessary resources for the file playing. If the codetype parameter is absent, the value of the TYPE attribute is treated.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>
Arguments
The name of MIME type in any case.
Default value
No
DATA Parameter
Description
Defines the file which must be displayed in browser window. It is enough for popular formats to indicate the way to the file and its type (type parameter) for downloading and demonstration of the result. It is recommended to enable classid parameter for specific plugins.
The way to the file is defined according to the folder, which is defined by codebase attribute. If there is no such parameter, you should define the way according to the current document.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="URL" /><embed type="application/x-shockwave-flash" width="100" height="100" src="URL"></embed></object>
Arguments
Full or relative way to the file is accepted as a value.
Default value
No
HEIGHT and WIDTH Parameter
Description
HEIGHT parameter defines the height of the object, and width – its width. Not only image itself is a part of defined size, but also control panel, including buttons of play, pause, stop, etc. That is why type of a file and applied plugin have an effect on a size of displayed object.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="height" height="width" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="height" height="width"></embed></object>
Optional parametrs
Yes
Arguments
Any positive integer in pixels or percents
Default value
No
HSPACE and VSPACE Parameter
Description
You may define invisible vertical and horizontal indents for any object with the help of hspace and vspace parameters.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>
Arguments
Any positive integer in pixels
Default value
0
TYPE Parameter
Description
Informs the browser about the type of the object, which is indicated in data parameter. Browser can use this information to prepare all the necessary resources for file playing.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><embed type="application/x-shockwave-flash" width="100" height="100"></embed></object>
Arguments
The name of MIME type in any case
Default value
No
PHP forms
Email forms
PHP contact form
CSS forms