HTML tag

HTML tag is used to embed multimedia files on webpage. The tag can include multimedia files such as video, audio, image, PDF, Java Applets, or another page on your page.

HTML tag also used with tag to pass parameters to plugin which has been included with tag.

If you insert text between the and tags, then it will only be displayed if the browser does not support the tag.


Following are some specifications about the HTML tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Embed external resource


Embedding a Video:

Test it Now


HTML object tag

Embedding a gif image:

Test it Now


HTML object tag


Tag-specific attributes:

Attribute Value Description
data URL It specifies the address of the resource.
type content_type It determines the content type of the resource specified by data.
archive URL It specifies the space-separated list of URL's for archives of resources for the object. (Not supported in HTML5).
border pixels It sets the width of the border around the (Not supported in HTML5).
classid URL It specifies the URL for the object implementation. (Not supported in HTML5).
codebase URL It specifies the base path where to find the code for the object. (Not supported in HTML5).
form form_id It specifies the form element that the object element is associated with.
height pixels It defines the height of the object.
width pixels It determines the width of the object.
typemustmatch boolean It specifies that resource should be embedded if type attribute matches with the actual content type of the resources provided on the data attribute.
name name It defines the name for the object.

Global attribute:

The <object > tag supports the global attributes in HTML

Event attribute:

The <object > tag supports the event attributes in HTML.

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML ordered Tag

Hot Tutorials

Contact US

HTML object Tag