HTML and CSS Reference
In-Depth Information
What is a plug-in?
A plug-in is a generic extension method for HTML that allows the page author to
indicate embedded content that is to be rendered by an external program. The
web browser hands over control of that region of the web page to the external
program. This external program is referred to as a plug-in .
The content rendered by the plug-in is like a black box to the browser. Browser
features like keyboard shortcuts, cookie preferences, and pop-up blockers don't
apply.
Following is the HTML5 code for embedding audio and video, which
compares favorably with the <img> element. The screenshots show the
default presentation of the <video> and <audio> elements in Firefox with
the controls visible.
Audio
Video
<audio src="myaudio.ogg" controls>
</audio>
<video src="myvideo.ogv" controls>
</video>
 
Search WWH ::




Custom Search