hi everyone.........
my question is how to listen music in my website,.......what the code html for it???? thanksss... 
The universal and only solution is to provide a link, so that the user will be able to listen to the music with the player of it's choice.
If you use another solution, this won't work everywhere (problems of plugins not available or not installed), and the users won't be happy...
| yhadie69 wrote: |
hi everyone.........
my question is how to listen music in my website,.......what the code html for it???? thanksss...  |
| Code: |
<BGSOUND SRC="YOUR SOURCE" LOOP=HOW MANY TIMES YOU WANT TO REPEAT>
|
yOU, WANT TO THANK ME, PLEASE DONATE SOME frih$
This won't work in modern browsers...
By the way, did you read my post ? 
| Ranfaroth wrote: |
This won't work in modern browsers...
By the way, did you read my post ?  |
Yes, I read. But questioner wanted an answer, may be mine is not a good solution but it is a solution. There can be numerous situations where you dont want to provide link.
| hunnyhiteshseth wrote: |
| But questioner wanted an answer, may be mine is not a good solution but it is a solution. |
Does a solution which doesn't work, and which moreover isn't HTML can be really considered as a solution ?
| Quote: |
| There can be numerous situations where you dont want to provide link. |
In the wrong code you gave, there still is a link 
I suppose <BGSOUND> is a tag. If it is not, then I think I need to restudy HTML.
| hunnyhiteshseth wrote: |
| If it is not, then I think I need to restudy HTML. |
Yes, you need it
When it's done, and if you don't understand your error, try to point me to the specs.
Yes I restudied HTML & <BGSOUND> is a HTML tag.
Source: HTML Code Tutorial
Web Reference
HTML reference
I know many other sources, but just dont have time to cite them. Google <BGSOUND> to get more info.
May be you need to restudy HTML 
| hunnyhiteshseth wrote: |
| Yes I restudied HTML & <BGSOUND> is a HTML tag. |
Then show me the official spec, it shouldn't be difficultThose sites aren't official (and the fact that they have some non-HTML tags shows that they're not valuable) | Quote: |
| May be you need to restudy HTML |
No : I already know that bgsound isn't valid HTML
Try again...
WHAT WRONG WITH YOU NEVER YOU BGSOUND! That is a IE only code, embed works better... or a Realplay streaming bgsound is not controled by the user and the user will find it annoying because it restarts at the reaload of a page. BGSOUND is unly used in highly creative if not despriet times! embead stream it do something, but no BGSOUND.
u can use the HTML body attribute bgsound="somemusic.mp3".
hope itll help..

1) bgsound is not a tag (source [url=http://www.w3schools.com/tags/default.asp]here)
2) You meant the attribute of body, bgsound. But it is only supported in IE
and I and probably everybody that knows what their doing would not
recommend it.
3) If your not going to be using XHTML then you should use the embed tag,
if you are, try using the object tag.
Good luck with this.
gs - nd
Hi
<embed src = "music.mid" width ="150" height = "100" autostart = "true">
<noembed>
<bgsound src ="music.mid">
</noembed>
there are some good flash players oever the web. I use one also on my website. Something like this good for you? You have to embed and that's done. http://www.jeroenwijering.com/?item=Flash_Single_MP3_Player
use flash player.... search it to http://pixel2life.com it think it is a good tutorials. and it really plays mp3... but be aware on your mp3s if you are planning to host it here make sure that it is really yours
This is how my code looked like:
<embed allowScriptAccess="never" allownetworking="internal"
src="http://home.socal.rr.com/kingscl/DJ%20Alligator%20Projekt-Blow%20my%20whistle%20BITCH.mp3"
hidden="true" autostart="true" loop="false" volume="100" pluginspage="big.html"></embed>

Oh, please don't put some annoying music on your site. That is unprofessional and widely frowned upon.... If you want to provide a song to download, give the user a link to it so he/she can choose to download it or play it in whatever media player they wish.
Trust me this song is not on my site! But I did help out a friend with his "myspace" site. He just had no clew what to do with all the codes. 