View video tutorial

HTML Embed


The <embed> tag acts as a container for external resources such as a picture, a media player, or a plug-in application.

HTML <embed>

HTML <embed> is a container for external resources.

The best use and the objective of <embed> element is to add browsers plug-ins.

HTML has all media control elements to deal with each media types. <iframe>, <img>, <video> etc. So recommendation is to use these elements as a first priority.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.


  <h3>Document in embed</h3>
    <embed type="text/html" src="index.jsp" width="500" height="200"></embed>
  <h3>Media in embed</h3>
    <embed type="text/html" src="" width="500" height="200"></embed>
Try it Now »

Click on the "See output" button to see how it works.