I want to get an audio file to play automatically when
someone visits my site!



I want to get an audio file to play automatically when someone visits my site!..

Answer / guest

For Netscape, this is done using the <EMBED> tag. You can
also do this with the Netscape <META> refresh tag, as
described earlier. Just put the URL of the audio file in the
CONTENT field.

There is also a MS Internet Explorer specific tag to do
this: <BGSOUND SRC=URL> which plays the file specified in
the SRC attribute automatically. You can add LOOP followed
by a value or the keyword "INFINITE" to indicate how many
times the sound should be played.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

Can I specify fractional weight values such as 670 or 973 for font weight?

0 Answers  


Why div tag is used in html?

0 Answers  


What are the 10 basic html tags?

0 Answers  


What does :: before mean in html?

0 Answers  


How do I rename all the files from .htm to .html after copying them from a pc to a unix machine?

0 Answers  






What is tag and attribute?

0 Answers  


Is the <!doctype html> tag considered as a html tag?

0 Answers  


What is the necessity of empty tag?

0 Answers  


Why to use figure tag in html5?

0 Answers  


What is canvas in html5? How to write a canvas?

0 Answers  


What is html5 vs html?

0 Answers  


What are the two types of tag?

0 Answers  


Categories