HTML <video> tag

Html <video> tag : Definition

• The HTML <video> tag is used to embed video playback support in a html document, such as a movie clip or other video streams.

• This element has three main video formats which are supported for the video element such as MP4, Ogg and WebM.



Html <video> tag example

<!DOCTYPE html>
<html>
  <head>
    <title>Html video tag example</title>
  </head>
  <body>





    <p class="paragraph">This is a normal paragraph</p>
    <p> <video>This is a paragraph inside <video> element</video></p>
  </body>
</html>

Output:


 

This is a normal paragraph