EMBED <embed> Tag

by Jai 01-Jul-19

0 106


The <embed> tag is used to attach an external resource in an HTML document. This tag is applicable in third-party applications like plugin, audio, video, etc.

<embed> Tag is an empty Tag. Closing tag is not mandatory.

You can use some attribute like source, type, height, width with it if desired.

Program:

<!DOCTYPE html>
<html>
<head>
<title>Example of HTML Embed Tag</title>
</head>
<body>
<h2>Example of embed tag</h2>
<p>The Dancing Penguin</p>
<embed src="heart-words.swf" height="200" width="300"> </embed>
</body>
</html>


Share:


Comments

    No Comments Yet.

Leave a Reply