HyperText Markup Language/Tag List/bgsound

From Wikibooks, open books for an open world
Jump to: navigation, search

Contents

[edit] Use

This lets the user link a sound to a page that will play automatically whenever a client opens the webpage.

[edit] Example

<bgsound src="music_3.wma" loop="infinite" />

[edit] Required attributes

[edit] src

This works like the img tag. It finds the source of the music file that the user wants to be played in the background.

[edit] loop

This tells the browser how many times the sound will be played in the background.

[edit] Standard attributes

[edit] More info

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export