embed
I. Description
The HTML embed element is used to insert external content into a web page. The external content may be a video, or an image, or a webpage.
While the embed element may be used to insert external content into a webpage there are other elements which are more suitable for the task.
- If you are trying to embed an image, it is generally better to use the use the img element.
- If you are trying to embed a video, it is generally better to use the use the video element.
- If you are trying to embed an audio file, it is generally better to use the use the audio element.
- If you are trying to embed an html document, it is generally better to use the use the iframe element.
II. Examples
<!DOCTYPE html>
<html>
<head>
<title>embed Example Page</title>
</head>
<body>
<h1>External HTML Document</h1>
<embed type="text/html" src="https://www.rowlandindustries.com/example_html_document.html" width="400" height="800">
</body>
</html>