<object>
An external resource treated as an image, nested context, or plugin resource — with real fallback content.
Baseline: Widely available · Media & embedded content
When to use it
Occasionally for PDFs or SVG-with-fallback, since its children render when the resource can't.
When not to
For images use img/picture; for pages use iframe — object is the niche case.
Key attributes
data- resource URL
type- MIME type
width / height
Example
<object data='/docs/menu.pdf' type='application/pdf' width='600' height='400'>
<p>The menu as a <a href='/docs/menu.pdf'>downloadable PDF</a>.</p>
</object>