Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Web Browser

Code Editor
Site Structure

Add a Video

Awesome! The photo makes the webpage much cooler. What's cooler than a photo? A video!

The HTML video element can add video to a webpage.

<video width="320" height="240" controls> <source src="video-url.mp4" type="video/mp4"> </video>

The video element uses a number of attributes. Let's take a look at them:

  1. width and height: Set the size of the screen that displays the video.

  2. controls: Adds play, pause and volume control.

  3. source src: Sets the URL of the video to play.

  4. type: Specifies different video formats.

Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.