HTML iframes
An <iframe> (inline frame) embeds another HTML document inside your page. It's used for maps, YouTube videos, and third-party widgets.
Key Attributes
src— URL of the document to embedwidth/height— Frame sizetitle— Accessible description (required)allowfullscreen— Enables fullscreen for videosloading="lazy"— Defer loading
Security
The sandbox attribute restricts what the embedded page can do (no scripts, no popups, etc.).