How to add music to your website
If you want to add an music to your website, you can do so by using the embed tag. First upload your audio file to your web server, so it’s accessible like: http://www.start-a-site.com/music-file.avi after that, you can use the embed code below:
<embed name=”player1″
src=”http://www.start-a-site.com/music-file.avi”
width=”300″
height=”90″
loop=”false”
autostart=”false”>
</embed>of course you do know that you have to change the “src” with your own audio file path.
You can also link to a music file with the code below, by doing this, when the visitor clicks this link their appropriate media player will be active with your audio file playing.
<a href=”http://www.start-a-site.com/music-file.avi”>Click to listen to audio file</a>
( November 5, 2009 at 12:52 am) · Filed under Coding, General, Multimedia, Adding a mp3 to your website, How to add music to your Html, How to add music to your website, How to an a audio file to your website, How to link to a music file, How to link to an audio file, Publishing music on your website, The code to add music to your website, Tutorial on how to add a music to your website
