Web Development Company

We Develope Websites for Small & Medium Enterprises in and outside Trivandrum. For more details Contact 8606092299

Sunday, September 30, 2012

Adding Music to web pages


I’m making a few web pages. I’d like to add music. Have no clue how. Can you help?
Thanks, Nina
Music can really add something special to a webpage when it’s done right and fits the mood of the site. Music can be added fairly easy with HTML using the following code: (Tested on Firefox 14, IE 9 and Chrome 21) 
Replace MusicNameHere with name of the file, replace “address/path to the music.extension” with the path and file extension. Loop=True/False will select if the background audio loops. Remove hidden=True and add a width=”xx” and height=”xx” to enable audio controls on the page (replace xx with pixel size, usually 150 width by 60 height for audio.)

No comments:

Post a Comment

Widget by : All Blogging Tips
Read more: http://allbloggingtips.com/2012/05/07/another-new-floating-facebook-like-box-widget-for-blogger/#ixzz2TrzlvfnV