How+to+Embed+YouTube+Videos

Embedding a YouTube video into your website is very easy especially since YouTube gives you the html code for all their videos. So it is just a matter of copying and pasting.

First head over to youtube.com and find a video you like. Press the 'Share' button and then the 'Embed' button. Notice that there are a few options you can select if you like such as video size. Copy the code and paste it into your .html file. You are all set!

Let's also take a look at the code for adding video. Notice the code YouTube gives you. You can see that the tag for video is and has attributes of width, height, frameborder, and allowfullscreen. Similarly to the code for images you also use 'src' to identify the source of the video. Now you know how to embed a video from somewhere other than youtube.

Hope this helps!

-Mr. Mendonez