How to add a container for an external (non-HTML) application in HTML5

HTMLFront End TechnologyWeb Development

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>
raja
Published on 13-Mar-2018 07:09:10
Advertisements