View video tutorial
HTML Embed
HTML
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.
Example
<h3>Document in embed</h3>
<div>
<embed type="text/html" src="index.jsp" width="500" height="200"></embed>
</div>
<h3>Media in embed</h3>
<div>
<embed type="text/html" src="https://www.youtube.com/embed/RL4CyCvt6aw" width="500" height="200"></embed>
</div>
Click on the "See output" button to see how it works.