I want to get an audio file to play automatically when
someone visits my site!
Answer Posted / 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 View All Answers
Do you know what is the sessionstorage object in html5? How to create and access?
What is a footer in word?
How to increase 12 grids of bootstrap to 18 grids.
What is a html5 tag?
How do I align a table to the right (or left)?
What property is used to set the speed of marquee in html?
What is lang attribute?
What is alt text word?
How can we embed Audio in HTML 5?
What is