Join TalkersCode Now !

Get Latest Tutorials And Links On Web Development
And Get Existing Offers Via Email

HTML Audio

HTML Audio

HTML Audio, to add audio is only possible with HTML5 before this we can only add audios with the help of some flash plugin.


Browser Support

Internet Explorer 9+, Firefox, Opera, Chrome, and Safari support the <audio> element.


Example of Audio

<audio controls>
<source src="demo.mp3" type="audio/mp3">
Your browser does not support the audio tag
</audio>

Code Explanation

  • controlsattribute add extra controls like play, pause, volume to the audio.
  • Text between the audio tags will only display in browsers that do not support the <audio> element.

PreviousNext

Join Us With Our 21000+ Subscribers And Get Our Latest Tutorials Update Via Email

Are You Starting A New Blog
Do You Want Best Web Hosting?

Try World's Best Web Hosting Provider BlueHost
At Just $3.95/mo

Hurry Up! Limited Time Offer

Yes, I Want To Check Out BlueHost

Check The World's Best SEO And All-In-One Marketing Toolkit
For Digital Marketing Professionals SEMRUSH

Check Out SEMRUSH