HTML · Links and media

iframe

Embeds another browsing context, such as a map or video. Always give it a descriptive title.

Syntax
<iframe src="…" title="…">

Example

Try it

Notes

Add sandbox when embedding third-party content you do not fully trust.

More in this group

a area audio canvas embed figcaption figure img

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course