HTML | <embed> type Attribute
Last Updated :
15 Jul, 2022
Improve
The HTML embed type Attribute contains the media_type content. It is used to specify the media type of the embedded content.
Syntax:
<embed type="media_type">
Attribute Values:
- media_type: It contains the media_type content. It is used to specify the media type of the embedded content.
Example:
html
<!DOCTYPE html> < html > < head > < title >HTML embed type Attribute</ title > < style > q { color: #00cc00; font-style: italic; } </ style > </ head > < body > < h1 >GeeksforGeeks</ h1 > < h2 >HTML embed type Attribute</ h2 > < br > < embed src="loading2.swf" type="application/x-shockwave-flash"> </ body > </ html > |
Output:
Supported Browsers: The browser supported by HTML embed type Attribute are listed below:
- Google Chrome 1 and above
- Edge 79 and above
- Internet Explorer not supported
- Firefox 1 and above
- Opera 12.1 and above
- Safari 4 and above