In this post you can learn to play a songs or audios in HTML page. The steps are given below
- First we have to create an new html page and save as audio.html.
- Let start with the html tag in the empty page.
- Inside the html tag create an head tag.
- Inside the head tag create an title tag and give the name of the page.
- Then create an body tag and create an audio tag.
- Inside the audio tag we have to give the source of the audio .
Example code is given below:
<html>
<head>
<title>Inserting audio page</title>
</head>
<body>
<audio controls>
<source src="http://isaiminihits.net/down.php?ses=5cb1ed00&file=Tamil%202021%20Songs/Karnan/128/Kandaa%20Vara%20Sollunga.mp3" type="audio/ogg">
</audio>
</body>
</html>
Super informative
ردحذفإرسال تعليق