<video> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:video

Description

The <video> element is used to embed video content in an HTML document.

Summary

Placement Block
Content <source>, <track>, and text
Start/End Tag Start tag: required, End tag: required
Version New in HTML5

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head>
  <title>Example of HTML video Tag</title>
 </head><!--  ww w .  j ava  2s . c  om-->
 <body>
  <video controls="controls" src="your.mp4">
    Your browser does not support the HTML5 Video element.
  </video>
 </body>
</html>

Related Tutorials