Web Design with HTML and CSS

Embedding videos & games

Embedded videos

Let’ add some YouTube videos to our web pages. Go to YouTube and find a video related to your content. Click on the share button below the video and then open the Embed tab. Copy the HTML code from the box into your own web page. Refresh your browser and the video should appear in your page.

For more detailed instructions go to YouTube’s help page, or watch the following embedded video.

Embedded games

There are many gaming sites that will allow you to embed their games within your own web pages. One of my favourites is http://www.freegamesforyourwebsite.com/.

To this site and choose your favourite game. Click on it and then scroll down to the Embed section. Hit the Click here to embed this game link and copy the HTML code into your own web page. Refresh your browser and you should find the game on your page.