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 attributesDescription
1heightUsed to specify the height of the embed content.
2widthUsed to specify the width of the embed content.
3srcUsed to specify the location of the content imported by the embed.
4typeUsed 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

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.