HTML
What is Embed Tag in HTML

What is Embed Tag in HTML
Using Embed tag, we can include external plugins such as flash player, web page, a picture, a media player into our website or web page. Embed HTML tag has some attributes they are:
- src
- height
- weight
- autoplay
- loop
- playcount
Attributse | Description | Value |
---|---|---|
height | Specifies the height of the embedded content | pixels |
src | Specifies the address of the external file | URL |
type | Specifies the media type | media_type |
width | Specifies the width of the embedded content | pixels |
<html>
<body>
<embed src="Path" height="400" width="400" autoplay="true" playcount="2" loop="true" > Start my Video </embed>
<p></p>
</body>
</html>
Note: embed tag is no longer used by browsers. instead of embed tag, you can use such tags;
To add Image – <img>
To show HTML – <iframe>
To add video or audio file to web page – <video>, <audio>