Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Is there any tutorial for putting videos in my html that validates correctly?

Is there any tutorial for putting videos in my html that validate correctly. I validated my html file and the validator showed me that I have like 22 errors. They all are because of the iframe the object elements I've put in it. Please I need to know what the right way to embed those elements without getting errors in the validator.

1 Answer

James Barnett
James Barnett
39,199 Points

Check out the HTML5 Rocks tutorial on the video element

I also made you a working demo http://codepen.io/jamesbarnett/pen/esluw

If you are wondering about browser support check out http://www.quirksmode.org/html5/tests/video.html