HTML <embed> type Attribute
Example
<h1>embed video</h1>
<embed type="video/mp4" src="video.mp4" width="300" height="150">
<h1>embed image</h1>
<embed type="image/jpeg" src="img-boy.jpg" width="300" height="150">
Meaning
Specifies the MIME type of the embedded object.
Standard Syntax
<embed type="mediaType" src="URL" width="pixels" height="pixels">
Advertisement
Attribute Values
| Value | Description |
|---|---|
| mediaType | Specifies the Internet media type of the embedded content. IANA Media Types |