add a video in html code example
Example 1: how to embed videos in html
<iframe src="example.mp4" width="100px" height="100px"></iframe>
Example 2: how to add a youtube video in html
<!-- 1. Find a YouTube video and copy the embedded code
2. Set width and height -->
<iframe width="420" height="345"
src="https://www.youtube.com/embed/tgbNymZ7vqY">
</iframe>
Example 3: how to add a video playing on a html page
<iframe width="420" height="315"
src="https://www.youtube.com/embed/tgbNymZ7vqY">
</iframe>