Home > Web Front-end > HTML Tutorial > Relevant introduction to plug-in functions in HTML

Relevant introduction to plug-in functions in HTML

零下一度
Release: 2017-05-09 15:20:08
Original
1554 people have browsed it

HTML plug-in

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

HTML Helper (plug-in)

A helper application is a program that can be launched by the browser. Helper applications are also called plug-ins.

Helper programs can be used to play audio and video (among others). Helpers are loaded using the <object> tag.

One advantage of using a helper program to play video and audio is that you can allow the user to control some or all of the playback settings.

Plug-ins can be added to the page through the tag or tag.

Most assistive applications allow manual (or programmatic) control of volume settings and playback functions (such as rewind, pause, stop, and play).

We can use the

elements

All major browsers support

element defines an object that is embedded in an HTML document.

This tag is used to insert objects (such as embedding Java applets, PDF readers, and Flash players in web pages).

Example

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

element can also be used to include HTML files:

Example

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

or insert a picture:

Example

<object data="audi.jpeg"></object>
Copy after login

element

All major browsers support the element. The

element represents an HTML Embed object. The

element has been around for a long time, but was not specified before HTML5. This element will be validated on HTML 5 pages, and on HTML 4 Won't.

Example

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

Note that the element does not have a closing tag. Alt text cannot be used. The

element can also be used to include an HTML file:

Example

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

or to insert an image:

Example

<embed src="audi.jpeg">
Copy after login

[Related recommendations]

1. Free html online video tutorial

2. html development manual

##3.

php.cn original html5 video tutorial

The above is the detailed content of Relevant introduction to plug-in functions in HTML. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template