So, you want to know how to place music on your page? Music very nicely gives your page a definite theme and shows your abilities as a webmaster. To follow along in an actual web page, go to my practice page (http://members.tripod.com/ ~lemmykoopa/lkmainl.htm). Click the page with your right mouse button, and click view source on the menu that appears. Maximize the new window, and you'll see what the page is made of. Now count the lines - blank lines don't count as they do not effect the page - and go to line 30.
Before you place music, you first need to find music to place. Whether you are saving the music to your files or linking to it from another's page, you need to know the full URL of where it is stored.
<EMBED SRC="lk20/cl2.mid"> This is the music visible at the top of the page. After starting the line, you need to use "<EMBED SRC=" so that the program knows to load the music. The URL is the URL where the music can be found. This works the same way as in text links. I was able to use part of the URL because it is in the same folder as my main page. You would need to use "http://www.lemmykoopa.com/lk20/ cl2.mid" or else the music would not load.
There are other properties you can use to customize your music. One such property is AUTO START="TRUE" This would cause the music to start playing as soon as it is loaded. To place this, simply put it in the HTML coding BEFORE you close the music code with ">". Other properties include LOOP and INVISIBLE, as well as HEIGHT and WIDTH. You can leave out any or all of these properties. When you are done, close the music code with ">".
Congratulations, you now have a page full of music! Your viewers may get downright funky while looking through your creation. Have fun building and get down with your bad self!
Go back to Lemmy's HTML Guide.
Go back to Lemmy's Land.