HTML plug-in


May 03, 2021 12:29 HTML


Table of contents


HTML plug-ins


The function of the plug-in is to extend the functionality of the HTML browser.


HTML Assistant (Plug-in)

A helper application is a program that can be started by a browser. Secondary applications are also known as plug-ins.

Auxiliary programs can be used to play audio and video (among others). The helper is loaded using the hashtag.

One advantage of playing video and audio with a helper is that you can allow users to control some or all of the playback settings.

Plug-ins can be added to the page by the hashtag or the hashtag. B oth the object and embed elements extend the browser's functionality by adding support for plug-ins that are not directly supported by the browser.

Most secondary applications allow manual (or program) control of volume settings and playback functions such as back, pause, stop, and play.

HTML plug-in We can display video and audio using the hashtags

The element

All major browsers support the hashtag.

The element defines the object embedded in the HTML document.

The element has local properties: data,type,height,width,usemap,name,form

The label is used to insert objects (e.g. embedding Java mini-programs, PDF readers, Flash players in Web pages).

< object width= "400" height= "50" data= "bookmark.swf" > < /object >

Try it out . . .

Elements can also be used to contain HTML files:

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

Try it out . . .

Or insert a picture:

< object data= "logo.png" > < /object >

Try it out . . .

The element of the embed

All major browsers support the element. The element achieves the same results as the element.

The element represents an HTML Embed object.

The element has been around for a long time, but was not specified before HTML5, and the element is validated on the HTML 5 page and not on HTML 4.

< embed width= "400" height= "50" src= "bookmark.swf" >

Try it out . . .

HTML plug-in Note that the element does not close the label. Alternative text cannot be used.

The element can also be used to contain HTML files:

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

Try it out . . .

Or insert a picture:

Example

< embed src= "logo.png" >

Try it out . . .