HTML - Plug-ins
The purpose of a plug-in, is to extend the functionality of the HTML browser.
HTML Helpers (Plug-ins)
A helper application is a small computer program that extends the standard functionality of the browser. Helper applications are also called plug-ins.
Examples of well-known plug-ins are Java applets and Adobe Flash Player.
Plug-ins can be added to web pages with the <object> tag or the <embed> tag.
Plug-ins can be used for many purposes: to display maps, scan for viruses, verify your bank id, and much more. The restrictions are few.
What is The Best Way to Play Audio or Video in HTML?
The best way to embed audio in a web page is to use the HTML5 <audio> element.
The best way to embed video in a web page is to use the HTML5 <video> element.
The <object> Element
The <object> element is supported in all major browsers.
The <object> element defines an embedded object within an HTML document.
It is used to embed plug-ins (like Java applets, ActiveX, PDF, and Flash) in web pages.
It can also be used to embed another webpage, or web content like images, into HTML documents.
|The text between <object> and </object> is displayed if the
browser doesn't support the tag.
The HTML <param> tag is used to pass parameters to the plug in.
Try it yourself »
The <embed> Element
The <embed> element is supported in all major browsers.
The <embed> element defines a container for an external application or interactive content (a plug-in).
Many web browsers have supported the <embed> element for a long time. However, it has not been a part of the HTML specification before HTML5.
The <embed> element will validate in an HTML5 page, but not in an HTML 4 page.
Try it yourself »
|Note that the <embed> element does not have a closing tag. It can not contain alternative text.|
Thank You For Helping Us!
Your message has been sent to W3Schools.