Display background music in my web page - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:audio

Description

Display background music in my web page

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--   www  . j  a v  a 2  s.  c om-->
 <body> 
  <audio controls autoplay style="display:none;"> 
   <source src="http://your file.mp3" type="audio/mpeg"> 
  </audio>  
 </body>
</html>

Related Tutorials