How to Play a video on web Browser

In this article, you will learn How to Play a video on web Browser.

<html>
<head>
<title>Video</title>
</head>
<body>
<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
</video>
</body>
</html>

In the above code <video> tag is used for shows the video. controls are the property of <video> tag which use for show controls of video.

Most popular article: How to Create List in HTML

Leave a Reply

Your email address will not be published. Required fields are marked *