how to add a youtube video in html
snippet in html

put youtube videos in html

user150


<iframe width="420" height="315"
src="https://www.youtube.com/embed/tgbNymZ7vqY">

</iframe>
 

how to embed youtube video in html

user9597


<iframe width="420" height="315"
src="https://www.youtube.com/embed/tgbNymZ7vqY">

</iframe>

how to add a youtube video in html

user976

<!-- You can add lots more features than this by the way...
- Find a YouTube video and copy the embedded code
- Set width and height -->

<body>
<iframe width="420" height="345" 
src="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
</iframe>
</body>

how to play youtube videos in html

user392

<!DOCTYPE html>
<html>
<body>
<iframe width="420" height="345" 
src="https://https://www.youtube.com/watch?v=dQw4w9WgXcQ">
</iframe>
</body>
</html>