-->
Showing posts with label audio controls tag. Show all posts
Showing posts with label audio controls tag. Show all posts

HTML page to play video and audio using video controls tag

Here is our HTML page.
-------------------------------------------------------------------------------------------
<html>
<head>
<title>
vhow to play video
</title>
<head>
<body>
<h3>in HTML 5.0, we can use video tag</h3><br>
<h4>click the Bill Gates video to play</h4><br>
<video controls>
<source src="video/billgates.mp4"><br>
</video>
<br>
<h4>we can also play audio files with audio tag</h4>
<audio controls>
<source src="video/ommusic.mp3"><br>
</audio>

</body>
</html>

 --------------------------------------------------------------
Before we test it, there must be files inside folder named video.