Embed Tag in HTML || HTML Tags || Learn HTML
×

HTML EMBED <embed> Tag

0 979

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

HTML <embed> Tag is an empty Tag. A closing tag is not mandatory.

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

Code:

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


Leave a Reply


Comments
    Waiting for your comments