How you play an audio using HTML5?
Answers
Answered by
2
1.Since we will be using HTML5 to insert the audio player, your page will need to be in that version of HTML. If it is in an earlier version, such as XHTML 1.0 or HTML 4.01, you will need to change itsDOCTYPE or DTD to "<!DOCTYPE HTML>", and adjust the rest of the code on the page, if necessary, to conform with the HTML5 standard.
2.If you have not yet started making a website yet, and plan to use the free Microsoft Expression Web to do so, note that you can actually make Expression Web use HTML5 for your website by default. This way, when you get to the pages where you want to play sound or music, you don't have to change anything, since the page will already be using the required version.
3.In addition, since this tutorial deals with the use of HTML, you will need to know how to insert HTML code into your web page. If you use a WYSIWYG web editor, you will have to switch to its code mode to do so. Tutorials on how to do this inExpression Web, BlueGriffon,Dreamweaver and KompoZer can be found in the links for those editors in this sentence that you're reading right now. If you use blog software, you will have to switch to its HTML input mode to insert the code given below.
This article is strictly a "how to" tutorial. It does not deal with copyright issues.
2.If you have not yet started making a website yet, and plan to use the free Microsoft Expression Web to do so, note that you can actually make Expression Web use HTML5 for your website by default. This way, when you get to the pages where you want to play sound or music, you don't have to change anything, since the page will already be using the required version.
3.In addition, since this tutorial deals with the use of HTML, you will need to know how to insert HTML code into your web page. If you use a WYSIWYG web editor, you will have to switch to its code mode to do so. Tutorials on how to do this inExpression Web, BlueGriffon,Dreamweaver and KompoZer can be found in the links for those editors in this sentence that you're reading right now. If you use blog software, you will have to switch to its HTML input mode to insert the code given below.
This article is strictly a "how to" tutorial. It does not deal with copyright issues.
Answered by
0
Answer:
i hope my answer helps you . I have added certain other details for presentation too . u can change according to you
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