WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML Plug-ins


In this chapter we learn html object. HTML Object are various useful


HTML Helpers

Helper applications are called plug-ins

Html Helper examples of well-known plug-ins are Java applets.

Plug-ins can be added to web pages with the <object> tag or the <embed> tag. 

HTML Helper can be used for many purposes: display maps, scan for viruses, verify your bank id etc.


The <object> Element

The <object> element is supported by all Web browsers(Firefox,Chrome,Opera) .

The <object> element defines an embedded object within an HTML document.

It is used to embed Java applets, PDF readers, Flash Players in web pages.

Example

<object width="400" height="50" data="bookmark.swf"></object>
Try it Yourself »

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

Example

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

Or images if you like:

Example

<object data="audi.jpeg"></object>
Try it Yourself »

The <embed> Element

The <embed> element is supported in all browsers(Firefox,Chrome,Opera).

The <embed> element also defines an embedded object within an HTML document.

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 element will validate in an HTML5 page, but not in an HTML 4 page.

Example

<embed width="400" height="50" src="bookmark.swf">
Try it Yourself »

Example

<embed width="100%" height="500px" src="snippet.html">
Try it Yourself »

You can use in Images:

Example

<embed src="audi.jpeg"> <embed src="fast.jpeg">
Try it Yourself »