HTML WEB DESIGN

 

separator-blank.png

 

GUIDE – EMBEDDING A YOUTUBE VIDEO

 

  • Create a new HTML document and name it webpage6.html. 

  • Make sure the document only has the HTML template in it.

 

<html>

<head>

</head>

<body>

</body>

</html>

 

 

·       Go to the video on YouTube.  Click on Share.  Then click on Embed.  Copy and paste the code into your document where you want the video to be placed.  Done.

The code will look like this:

 

 

<html>

<head>

</head>

<body>

<iframe width="560" height="315" src="https://www.youtube.com/embed/AePr-8n1STQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

</body>

</html>

 

 

·       Click here to see how it looks.

·       Add a YouTube video (other than the one above) to your webpage6.html document.

·       Add a link from your index file to webpage6.