From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/it/web/html/element/bgsound/index.html | 101 +++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 files/it/web/html/element/bgsound/index.html (limited to 'files/it/web/html/element/bgsound') diff --git a/files/it/web/html/element/bgsound/index.html b/files/it/web/html/element/bgsound/index.html new file mode 100644 index 0000000000..d5a979a0f0 --- /dev/null +++ b/files/it/web/html/element/bgsound/index.html @@ -0,0 +1,101 @@ +--- +title: +slug: Web/HTML/Element/bgsound +translation_of: Web/HTML/Element/bgsound +--- +
{{non-standard_header}}
+ +

Sommario

+ +

L'elemento HTML <bgsound> (o Background Sound) è un elemento introdotto da Internet Explorer che riproduce un audio in sottofondo.

+ +
+

Non usarlo! Per incorporare un audio in una pagina web, bosognerebbe usare l'elemento {{HTMLElement("audio")}}.

+
+ +

Attributi

+ +
+
{{htmlattrdef("balance")}}
+
Questo attributo definisce come il volume deve essere diviso tra le casse. Il suo valore può variare da -10,000 (solo la cassa sinistra) a +10,000 (solo la cassa destra).
+
{{htmlattrdef("loop")}}
+
Questo attributo indica il numero di volte che l'audio deve essere riprodotto. Il suo valore può essere un numero intero o infinite.
+
{{htmlattrdef("src")}}
+
Questo attributo specifica l'URL dell'audio da riprodurre, che deve essere di tipo .wav.au o .mid.
+
{{htmlattrdef("volume")}}
+
Questo attributo specifica il volume dell'audio. il suo valore può variare tra -10,000 e 0.
+
+ +

Esempio

+ +
<bgsound src="sound1.mid">
+
+<bgsound src="sound2.au" loop="infinite">
+
+ +

Compatibilità con i browser

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + +
FunzionalitàChromeFirefox (Gecko)Internet ExplorerOperaSafari
Supporto di base{{CompatUnknown}}{{CompatNo}} [1]{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FunzionalitàAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Supporto di base{{CompatUnknown}}{{CompatNo}} [1]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
+
+ +

[1] Fino a Firefox 22, anche se questo elemento non era supportato, veniva associato all'interfaccia {{domxref("HTMLSpanElement")}}. Questo bug è stato risolto e adesso viene utilizzata l'interfaccia {{domxref("HTMLUnknownElement")}}, come richiesto dalla specifica.

+ +

Note

+ + + +

Vedi anche

+ + + +
{{HTMLRef}}
-- cgit v1.2.3-54-g00ecf