Powered by:
FutureQuest Hosting


"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

Web Hosting
Shared       
Reseller     
VPS             
Dedicated 
Price:   $(US)
Space:     (MB)
Transfer:(GB)
Platform:


Advertise
Advertising Opportunities
Rate Card

Sponsor
Go Back   Webmaster Forums > Code Forum > HTML Forum


Reply
 
Thread Tools Rate this Webmaster Discussion
  #1  
Old 08-12-2009, 03:14 PM
Jhnirsch Jhnirsch is offline
New User
 
Join Date: Aug 2009
Webmaster Discussions: 1
Rep Power: 2
Jhnirsch is on a distinguished road
Exclamation adding sound to a Html web page

I am a noob at makeing web pages. I want to add a .wav to my web page. I am useing notpad to make my page and I dont know what to do can some one please help me.


Reply With Quote
  #2  
Old 11-03-2009, 02:59 AM
Website Reaction Website Reaction is offline
Junior Member
 
Join Date: Nov 2009
Location: Preston, Lancashire
Webmaster Discussions: 2
Rep Power: 1
Website Reaction is on a distinguished road
Re: adding sound to a Html web page

Try adding this between <body> and </body> and changing "yourmusic.wav" to your file name.

<SCRIPT TYPE="text/javascript">
<!--
var filename="yourmusic.wav";
if (navigator.appName == "Microsoft Internet Explorer")
document.writeln ('<BGSOUND SRC="' + filename + '">');
else if (navigator.appName == "Netscape")
document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE WIDTH=144 HEIGHT=60><P>');
// -->
</SCRIPT>
<NOSCRIPT>
<BGSOUND SRC="yourmusic.wav">
</NOSCRIPT>
Reply With Quote
Reply
Sponsor

Bookmarks

Tags
html , web

Thread Tools
Rate This Thread
Rate This Thread:

 

Similar Webmaster Discussions
Thread Webmaster Discussion Starter Forum Replies Last Post
Adding new tables to Myspace page sunnyhaven Myspace Forum 6 10-12-2008 05:40 AM
Adding a soundbyte with HTML... Enchantress HTML Forum 2 03-13-2005 06:00 PM
multi-level JavaScript document.write / html page within a html page rebbekka Javascript Forum 7 09-20-2004 11:22 AM
How do you add sound to MSN group web page soulsentinal HTML Forum 2 09-01-2004 09:11 PM
Adding Sound to my website - WMP LTcommander3 HTML Forum 4 04-12-2004 08:25 PM


All times are GMT -5. The time now is 05:19 PM.

Copyright © 1999 - 2009 Advanced HTML For Beginners and AHFB2000. All rights reserved.
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.