iframe

A window inside the page that shows another page, such as a YouTube video or a Google Map.

Also called: embed

Domain
Languages
Type
Term
Source
General
Language
HTML

In plain English

Embeds are convenient but heavy and can set third-party cookies. Lazy-load them, and use privacy-friendly variants like youtube-nocookie.com.

Example

The map is an iframe from Google Maps, loaded only when it scrolls into view.

In code

<iframe src="https://www.google.com/maps/embed?pb=…" width="600" height="400"
        loading="lazy" title="Map to the villa"></iframe>

Related terms

Added 2026-11-30 · Last reviewed 2026-11-30