Skip to main content

html-tags.com

<embed>

A legacy integration point for external content and plugins.

Baseline: Widely available · Media & embedded content

When to use it

Almost never in new work — historic plugin content only.

When not to

Modern replacements exist for everything it did: iframe, video, audio, img, or object for PDFs.

Key attributes

src / type
resource and MIME type
width / height

Example

<embed type='application/pdf' src='/docs/spec.pdf' width='600' height='400'>
Source — this snippet needs a fuller context to render.

Authoritative references