HTML5 Audio Tag

HTML 5 natively support audio tag . Now your HTML 5 enable browser supports .ogg ,.mp3 format. So you can implement audio streaming on your HTML5 based website with a little bit of coding and its fairly simple.

HTML5 Audio Tag
Browser Compatibility :
IE 9, Firefox, Opera, Chrome, and Safari support the <audio> element.




HTML5 Audio Tag Coding Structure

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

For more info visit
w3schools.com/html5/tag_audio.asp

Labels: