Pr.Pg Next Pg

<EMBED> tag tutorials

  • Mostly <EMBED> tag is use for play Videos or Song but you can also launch external application.

  • <EMBED> is container tag

  • The below table shows the attributes of the <EMBED> tag:

 

Sr No

Attributes

Descriptions

1

height

This attributes specifies the height of the embedded object

2

src

This attribute specifies the URL of source content for the embedded object.

3

types

This attribute specifies the MIME type of the embedded object. It is used by the

browser to determine an appropriate plug-in for rendering the object. It can be used instead of the src attribute for plug-ins that have no content or that fetch it dynamically.

4

width

This attributes specifies the width of the embedded object

 

Syntax:

<body>

<embed src =”url”>

<body>

 

Example: HTML program to play video using embed element

Output:
Example: HTML program to play music using embed element

Output:
Pr.Pg border                                              Next Pg