|
Answer» Building a website and i want music to play in the backround, how do i do this? iv seen on the SITE were it says
but how do i know what the src of my music is?The source of your music is the name of your file that you want to be played when the page LOADS in the user's browser. Assuming the file is located in the same folder as the HTML page you'd would only NEED the file name, otherwise you'll need to include directory names along with the file name. For example, if you had a music file named 'file.wav' located in a folder named 'music', the source would be 'music/file.wav'. Just so you know, the bgsound TAG only works in IE and is generally FROWNED upon when used, particularly if its loop parameter is set to 'infinite'. Hopefully this was helpful in answering your question.src refers to the link where your music file exists. if it is in same place as your html file, just use file name. otherwise, give full address of where music exists.
|