How to add video and audio in HTML5
Answers
Answered by
0
Create a new HTML file in the same directory, called index.html . Add<audio> and <video> elements to the page; make them display the default browser controls. Give both of them <source> elements so that browsers will find the audio format they support best and load it.
Answered by
0
Answer:
i have added coding for audio tag u can further refer book and add video tag just after audio tag is closed in this code. More or less coding for both audio and video are similar
Explanation:
<!DOCTYPE html>
<html>
<head>
<p align=center><font size=32 color=green>title of any song of ur choice</font></p></head>
<body bgcolor="orange">
<br><br><center>
<audio controls>
<source src=" any song Title Song.mp3" type="audio/mp3">
</audio>
</center>
</body>
</html>
Similar questions