HTML Video

  • Post author:
  • Post category:HTML
  • Post comments:0 Comments

HTML Video

Sometimes we have to add videos on our website or on any page of our website, so let’s see how we can add videos to our website with the help of HTML.

Here is the Sample code

<!DOCTYPE html>
<html>
<head>
<title> adding video in website </title>
</head>
<body>
<video width="400" height="400" controls>
   <source src="file-name.mp4" type="video/mp4"></source>
   <source src="file-name.ogg" type="video/ogg">

<h1>
Thanks For Reading
</h1>
</body>
</html>

Leave a Reply