Use the <embed> tag in HTML, represent a container for external application or interactive content. The HTML <embed> tag also supports the following additional attributes −
Attribute | Value | Description |
---|---|---|
height ![]() | pixels | Specifies the height. |
src ![]() | URL | Specifies the address of the source file. |
type ![]() | MIME_type | Specifies the MIME type |
width ![]() | pixels | Specifies the width. |
Example
You can try to run the following code to add a container for an external application in HTML5 −
<!DOCTYPE html> <html> <head> <title>HTML Embed Tag</title> </head> <body> <embed src = "/html/yourfile.mid" width = "300" height = "150" /> </body> </html>