HTML Music Codes setup

Tuesday, February 7, 2012

HTML Music Codes setup

 Hello dear guys here you will get how to HTML music codes setup? I guess you will get advantage form this site articles.

HTML Music Codes
How to implant an audio file:
You be able to include HTML music code on the way to your web page using the set in tag. The set in tag isn't in fact part of the HTML requirement other than it is still widely supported.
You can implant a music file into your page using the following HTML code:

<embed name="lostmojo"
src="/web_design/lostmojo.wav"
width="300"
height="90"
loop="false"
autostart="false" />

These codes will current a music console with the suitable controls like this:

"But you don't see any music controls and don't hear in the least music, you may need to download a plug-in for your browser."

Need to create a music playlist?

You can make your music player loop through more than one song using a music playlist.
How to preload a sound file

You can preload music files so that the music starts immediately after the user has clicked on the link. You can preload using the following technique:

<embed name="lostmojo"
src="/web_design/lostmojo.wav"
loop="false"
autostart="false"
hidden="true"
mastersound />

This embeds the sound, but the 'autostart' feature is off (you don't want to annoy the user now, do you?) and the 'hidden' feature is true, so the user doesn't see a console upon entering your webpage.
How to link to a music file

You can also link to a music file using the Lost Mojo. This obviously assumes that the music file is in the specified location. HTML Music Codes setup.

0 comments:

Lorem Ipsum

  © Blogger templates Newspaper by Ourblogtemplates.com 2008

Back to TOP