Skip to content

Definition

Iframe embed

Also called iframe, embedded frame

An iframe embed is an HTML element that displays another web page inside a frame on your page, which is how maps, videos, and booking widgets from other services appear without leaving your site.

What it means

The embedded content is loaded from the other service and runs under its own address. Your page decides where the frame sits and how large it is, but the content inside belongs to the other party.

That makes embeds convenient and a little risky. A slow or broken embed slows your page, a tracking embed can collect visitor data, and a frame from an untrusted source can show content you did not intend.

Good practice is to embed only from sources you trust, give the frame a descriptive title for accessibility, and restrict what the frame may do with the sandbox attribute and your Content Security Policy.

Folio business websites embed Google Maps and OpenStreetMap maps, and the stored address is validated against exact hosts and paths before it is shown.

Example

<iframe
  src="https://www.openstreetmap.org/export/embed.html?bbox=..."
  title="Map of our clinic"
  loading="lazy"
></iframe>

Frequently asked questions

Is an iframe bad for SEO?

Content inside a frame is usually credited to the source, not your page. Use frames for maps and media, and keep the information you want to rank for as text on your own page.

Why does my embed not show?

Common causes are a site that forbids framing, a Content Security Policy that does not allow the source, or a browser blocking mixed content. Check the browser console for the exact message.

Start free

Build your resume and portfolio in one place.

Resume PDF and DOCX export is free and unwatermarked on every plan, and every published portfolio ships with a sitemap, structured data, and llms.txt.