HTML embed Tag

HTML embed Tag


Define :
HTML embed Tag

It is defined a container for an external resource, such as a web page, a picture, a media player, or a plug-in application.
For example :

Output :

     
Browser Support
 All browsers are supported like chrome, opera, firefox, microsoft edge.

Global and event Attributes
This tag also supports the Global and event Attributes in HTML.
To display a picture, it is use the <img> tag.
To display HTML, it is use the <iframe> tag.
To display audio or video, it is use the <audio> and <video> tag.

Attributes :
Attribute value description
height pixels It is defined as  the height of the embedded content
src URL It is defined as  the address of the external file to embed
type media_type It Specifies the media type of the embedded content
width pixels It specifies the width of the embedded content

Default CSS Settings
Most browsers will display the <embed> element in css

embed:focus {
  outline: none;
}