Read local audio file with various format - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:audio

Description

Read local audio file with various format

Demo Code

ResultView the demo in separate window

<html>
 <head></head> 
 <body> 
  <audio controls> 
   <source src="horse.ogg" type="audio/ogg"> 
   <source src="horse.mp3" type="audio/mpeg"> Mobile support the audio element. 
  </audio>  
 </body><!--from w w  w . j  a  v  a2  s .  c  om-->
</html>

Related Tutorials