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.

filter_none

edit
close

play_arrow

link
brightness_4
code

<!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>

chevron_right


Output:

Supported Browsers:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Apple Safari
  • Opera

full-stack-img

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.