Unlike iframe before it was a non standard tag, which is standardized in HTML 5. Which admittedly was implemented by all major browsers. The embed element provides an integration purpose for an external (typically non-HTML) application or interactive content. The HTML tag is used for embedding an external application or interactive content into an HTML document.
The basic tag is written like this with the URL of the embedded resource added to the src attribute (i.e. between the double quotes).
The type attribute accepts the MIME type of the embedded resource.
Adjusting Height and Width
Output: Using The Height and Width With Embed
Using Embed Without Borders.
By default, embed don’t have a border around it. But we can also remove the border by using the style attribute and use the CSS border property.
Output: using embed without any borders
In embed tag we can also apply borders with different colors.
Output: Using Embed With Borders Of Colour Solid Orange
Supported Browsers: The browsers supported by Embed are listed below:
- Google Chrome
- Internet Explorer
- Apple Safari