Embedding YouTube and Maps
Many sites give embed code that uses an iframe. Use a title, a size and loading="lazy". Only embed sources you trust.
Example
<iframe width="260" height="150" src="about:blank" title="Example embed" loading="lazy"></iframe>
<p>Real embeds use an iframe src from the provider.</p>Exercise
Lazy load an embed.
<iframe loading=""></iframe>
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.