HTML embed tag

Learn the working of HTML embed tag to include interactive content or application in the web pages. You can add any type of media like videos, audios formats on your web pages. It also supports almost all the major browsers to display the content. You can also embed a flash file using the embed tag.

Syntax

Example

Output


This is the example of embed tag that contains a video file to show with controls.

Output


List of HTML embed tag attributes

Sr. No. embed attributes Description
1 height Used to specify the height of the embed content.
2 width Used to specify the width of the embed content.
3 src Used to specify the location of the content imported by the embed.
4 type Used to specify the type of the content imported by the embed.

Resources and References

1. W3C Specification.
2. HTML living standard
3. W3C project using Github