HTML Plug-in

HTML Tutorial

HTML Forms

HTML Graphics

HTML Media

HTML API

HTML Plug-ins

Plug-ins are computer programs that are used to extend the standard functionality of the browser.

Plug-ins

Plug-ins were designed for various purposes:

  • For running Java applets.
  • To run Microsoft ActiveX controls.
  • Displaying the flash movies.
  • Displaying maps.
  • Scanning for viruses.
  • Verifying a bank id.

The <object> Element

The <object> element is supported by all browsers and specifies an embedded object inside an HTML document.

It was created to embed plug-ins like Java applets, PDF readers, and Flash Players in web pages, but can also be included in HTML:

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

The <embed> Element

The <embed> element is supported in all browsers and specifies an embedded object inside an HTML document.

The <embed> element has been supported by web browsers for a long time. However, it has not been a part of the HTML specification before HTML5.

Example

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