HTML Tag <BGSOUND>

HTML Tag <BGSOUND>

<BGSOUND> Embeds a background sound file within documents. Use in the document head of documents intended for visitors who use Internet Explorer.

Attribute of <BGSOUND> Tag

CLASS

Indicates which style class applies to the <BIG> element.

<BIG CLASS="casual">Instructions</BIG>

Possible Values

Class name that you define.



LOOP

Specifies the number of times a background sound file repeats. The value INFINITE is the default.

<BGSOUND SRC="bugle.wav" LOOP="2">

Possible Values

Any integer value or INFINITE or -1 (for infinite)



SRC

Indicates the explicit or relative location of the sound file.

<BGSOUND SRC="wah.wav">

Possible Values

audio file name with extension. (URL of audio file)




Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad