<iframe> is used to embed another webpage or piece of content inside your page. You'll see it most often for YouTube, Google Maps, and external widgets.
For security, only embed sources you trust. An untrusted iframe embedded in your website is like a "tenant" living inside your house — it's a good idea to set some house rules.
html
<iframe
src="https://www.example.com"
title="Example website preview"
width="600"
height="350"
loading="lazy"></iframe>You should see
You'll get an iframe box showing an external page or embedded content.