Last updated: 2026-09-12
<embed>The EMBED Element
A void element embedding external resources (plugins, SVG, PDF); a simplified object, largely superseded.
| Category | Scripts & Embedding |
|---|---|
| Content Model | Flow content |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Self-closing — no closing tag needed |
| Status | Standard |
📝 Syntax
<embed src="game.swf" type="application/x-shockwave-flash">
⚙️ Attributes
This element supports the global attributes plus the following:
| Attribute | Value | Description |
|---|---|---|
src | URL of the resource to embed. | |
type | MIME type of the resource. | |
width | Width of the embedded area. | |
height | Height of the embedded area. |
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <embed> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: embed is a void element; prefer iframe/object in modern code, embed is for legacy plugins.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.