Embed tag
Advertisements
Embed Tag in HTML
Embed tag are used for include external plugin like flash player, media player into your web page. Embed tag contain the following attributes.
- src
- height
- weight
- autoplay
- playcount
- loop
Note: Playcount and loop is illegal combination inside a single embed tag.
Example
<html> <body> <embed src="path of the video/audio file" height="200" width="300" autoplay="true" playcount="2" loop="true" >My first web page</embed> <p></p> </body> </html>
Output
Note: we can also play audio and video files by using <ancher> tag.
Example
<html> <body> <a href="https://www.youtube.com/watch?v=pbncfJy0BgQ">Click to watch video</a> <p></p> </body> </html>
Google Advertisment