Click here to Skip to main content
15,860,943 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i want to add music in my html page i am using site50.net but i can't upload my mp3 file there is their any solution you got there :|


XML
<html>
<body>
<body bgcolor="black">
<body text="white">
<h1 align=center> h3lL()!WRL(| </h1>
<h3 align=center> Welcome to BSCS 2k12 NFC IET website</h3>
<p align=center><font size=3 color=pink> HEllo to All bscs 2k12 here we are puting music , chatbox and everything that you will need almost data of all the assignments
recent events happened in IET and many much more it's not about entertainment only but it is for you
we provide you with all the required material </font> </p>


<tr>
<table border='7'>
<th align=left> <pre>                                     Well this website is all about 2k12 </pre><pre>
</pre><pre>                                Here you can chat with your classmates freely without having any trouble          </pre>
  <pre>                                Even our class girls can communicate with others here no need to worry about anything                  </pre></th></tr>
<tr>
<th>
<h2 align=justify> <font color='yellow' size='6'> Sir NAMAN ASSIGNMENT AFTER MID-term </h2></th>
<td> <a href="http://www.tinyurl.com/sirzahid" </a> Click here to Download </td>
</tr>
<object type="audio/mp3" data="e:\myhtml\training.mp3" width="2000" height="160" autoplay="true">
<param name="src" value="e:\myhtml\training.mp3" />
<param name="autoplay" value="true" />
</object>
<ol>
<li><b> WHat boooorrred from us </b></li>
<li><strong> NO worries we are here to help you </strong> </li>
<li> <b> Lets put some music in our site </li>
</ol>










</body>
</html>
Posted

You should also know that if you don't own the music, you can get arrested.
 
Share this answer
 
First upload your files on server and then mention the relative path in your source. It cannot be E:\myhtml\training.mp3. It could be http://mysite.net/audio/training.mp3 .


For mp3 files uploading issue, try contacting your hosting provider.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900