HTML Plugin

A plugin (Plug-in) is a computer program that extends the standard features of a web browser.

Plugin

Plugins are designed for many different purposes:

  • Run Java Applet
  • Run ActiveX Controls
  • Display Flash Movie
  • Display Map
  • Scan for Viruses
  • Verify Bank Account

Warning!

Most browsers no longer support Java Applets and plugins.

All browsers no longer support ActiveX controls.

Support for Shockwave Flash has also been closed in modern browsers.

<object> element

All browsers support <object> Element.

<object> Element defines embedded objects in HTML documents.

It is intended to embed plugins (such as Java applets, PDF readers, and Flash players) in web pages, but it can also be used to include HTML in HTML:

Examples

<object width="100%" height="500px" data="snippet.html"></object>

Try It Yourself

Or your favorite image:

Examples

<object data="audi.jpeg"></object>

Try It Yourself

<embed> element

All major browsers support <embed> Element.

<embed> The element can also define embedded objects in HTML documents.

Web browsers have long supported the <embed> element. However, it is not part of the HTML specifications before HTML5.

Examples

<embed src="audi.jpeg">

Try It Yourself

Note that the <embed> element does not have a closing tag. It cannot contain alternative text.

<embed> The element can also be used to include HTML in HTML:

Examples

<embed width="100%" height="500px" src="snippet.html">

Try It Yourself