HTML <object>Tag: The HTML<object> tag specifies an embedded object within an HTML document. This HTML object tag is used to embed multimedia in your webpages. In case if you want we can also use the <object> tag to embed another webpage into your HTML document. And also use the <param> tag to pass parameters to plugins that have been embedded with the <object> tag.
The “form” attribute is new in HTML5. In HTML5, objects can be used and submitted in forms.
And they can no longer appear inside the <head> element of a document.
Syntax: <object> Text </object>
The HTML<object> tag is supported by different types of browsers.
- Internet Explorer
<!DOCTYPE html> <html> <body> <object width="400" height="400" data="logo.swf"> </object> </body> </html>