Name
<bgsound> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
Synopsis
<bgsound>
Plays an audio file automatically in the background when the document loads in the browser. This tag is discussed in Chapter 19.
Attributes
-
src=
url
This mandatory attribute provides the URL of the audio file to be downloaded and played.
-
loop=
number
|infinite
Sets the number of times the sound file should play. The value can be a number or set to
infinite
.
Get Web Design in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.