HTML Tag <embed>
The <embed> HTML tag defines a container for an external application like <audio> or <video> into an HTML document, etc.
Important Points of <embed> Tag
- The <embed> tag is new in HTML5 as a standard.
- The <embed> tag has not been a part of the HTML 4 specification.
- <embed> has started open tag, end with the tag of forbidden
Syntax Example of <embed>
" <embed src="URL" /> "
Browser Support <embed> Tag
- Chrome: Yes
- Edge: Yes
- Firefox: Yes
- Safari: Yes
- Opera: Yes
Tag-Specific Attributes
- src (URL) - Specifies the address of the external file to embed
- type(media_type) - Specifies the media type of the embedded content
- width & height (pixels) - Give the width & height of the embedded content