Shows another web page inside this one, here a small one written in place with srcdoc. Always give it a title, and load it lazily when it is below the fold.
HTML
<iframe srcdoc="<p>A separate document, embedded in this page.</p>"
title="An embedded example document" loading="lazy" width="320" height="120"></iframe>
Shows an external file, such as a PDF or an image, and takes fallback content inside for when the file cannot load.
HTML
<object data="shapes.svg" type="image/svg+xml" width="240" height="120" aria-label="A blue square and a grey circle">
A blue square and a grey circle
</object>