HyperText Markup Language/Tag List/bgsound
Jump to navigation
Jump to search
Use[edit | edit source]
This lets the user link a sound to a page that will play automatically whenever a client opens the webpage.
Example[edit | edit source]
<bgsound src="music_3.wma" loop="infinite" />
Required attributes[edit | edit source]
src[edit | edit source]
This works like the img tag. It finds the source of the music file that the user wants to be played in the background.
loop[edit | edit source]
This tells the browser how many times the sound will be played in the background.
Standard attributes[edit | edit source]
More info[edit | edit source]
A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).