<iframe
src="https://developer.mozilla.org/en-US/docs/Glossary"
width="100%"
height="500"
allowfullscreen
sandbox>
</iframe>From object to iframe — general embedding technologies
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
iframe {
border: none;
}<object data="my-pdf.pdf" type="application/pdf" width="800" height="1200">
<p>
The PDF preview is unavailable.
<a href="my-pdf.pdf">Open the PDF file.</a>
</p>
</object>