Detailed introduction to HTML plug-ins

零下一度
Release: 2017-05-18 16:09:08
Original
1501 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 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 tag. The

element defines an object 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 to insert an image:

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. The element will be validated on HTML 5 pages, but not on HTML 4.

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. Special recommendation:"php Programmer Toolbox" V0.1 version download

2. Free html online video tutorial

##3.

php.cn original html5 video tutorial

The above is the detailed content of Detailed introduction to HTML plug-ins. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!