Answer
Use the iframe code provided by YouTube’s Share and Embed option. • Give the iframe a title and allow only the features it needs. • Prefer native HTML elements before adding custom scripted behavior. • Test the result with a keyboard, a small screen, and browser developer tools.
💡 Simple Example
<iframe src="https://www.youtube.com/embed/VIDEO_ID" title="HTML lesson" allowfullscreen></iframe>
⚡ Quick Revision
A YouTube video is usually embedded with its provided iframe URL.