The <object>…..</object> tag is used to embedded object within HTML document.
Ex: – audio, video, Java applets, ActiveX, PDF, and Flash etc.
<object> tag also used to embed another webpage into a HTML document.
The text between the <object> and </object> is an alternate text, for browsers that do not support this tag.
<param> tag is used to pass parameters to plugins that have been embedded with the <object> tag.
Attribute | Value | Description |
Data | URL | Specifies the URL of the resource to be used by the object |
Type | Media type | Specifies the media type of data specified in the data attribute |
Name | Name | Specifies a name for the object |
Height | Pixels | Specifies the height of the object |
Width | Pixels | Specifies the width of the object |
Usemap | #mapname | Specifies the name of a client-side image map to be used with the object |
Form | Form_id | Specifies one or more forms the object belongs to |