On this page
  1. <iframe>
  2. Summary
  3. Notes & Best Practices
  4. Example

<iframe>

Prev: `<link>` | Up: interactive | Next: attributes
Rel: interactive, Interactive & Scripting Guide
Ref: MDN Web Docs — <iframe>
Tags: #public #web #html #elements #interactive #tier/standard


Summary

Embeds a nested browsing context.

Notes & Best Practices

Example

<iframe
  src="https://example.com/embed"
  title="Interactive preview"
  loading="lazy"
  sandbox="allow-scripts"
></iframe>

Linked from

Related notes