<object data="files/demo.html" type="text/html" width="100%" height="auto"> </object></>
HTML object tag
HTML object tag represents embedded content such as images, video or audio. We have to provide the address or URL of the content in the data attribute.
Tag UsesSpecific uses of <object> tag
It may also embed an image. It can also be used to make a map.
Both starting and ending tags are necessary for the object element.
All the global attributes are applicable on the object element.
Was this article helpful?