How to define a container for an external (non-HTML) application using HTML5?
The approach of this article is to define a container for an external application by using a <embed> element in the Document. This is used for embedding external application which is generally multimedia content like audio or video .
It is used as a container for embedding plug-ins such as flash animations.
Syntax:
<embed attributes>
Example: Below code illustrates that how to embed video application into your Document.
<!DOCTYPE html> < html > < head > < title > Define a container for an external (non-HTML) application </ title > < style > q { color: #00cc00; font-style: italic; } </ style > </ head > < body > < br > < embed src = "loading2.swf" type = "application/x-shockwave-flash" > </ body > </ html > |
Output:
Supported Browsers:
- Google Chrome
- Internet Explorer
- Firefox
- Apple Safari
- Opera
Please Login to comment...