Video Element in HTML5
HTML5
Includes an interesting feature of the video tag. It provides us the facility to
add the video on our web page. It has a lot of attributes like
looping, autoplay, muted. Here is the simple example of HTML5:
- <!DOCTYPE HTML>
- <html>
- <body>
- <video src="http://www.youtube.com/watch?v=qtzjzMsJiO8" width="230" height="140" controls="controls">
- This browser is not supporting the video tag.
- </video>
- </body>
- </html>
This program is used to check that the browser supports this facility or
not. The control attribute is here for providing the facility for play, pause, and volume controls.

Join the conversation! Your thoughts help the community grow.