diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:41:15 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:41:15 -0500 |
commit | 4b1a9203c547c019fc5398082ae19a3f3d4c3efe (patch) | |
tree | d4a40e13ceeb9f85479605110a76e7a4d5f3b56b /files/ca/web/html/element/bgsound/index.html | |
parent | 33058f2b292b3a581333bdfb21b8f671898c5060 (diff) | |
download | translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.gz translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.bz2 translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.zip |
initial commit
Diffstat (limited to 'files/ca/web/html/element/bgsound/index.html')
-rw-r--r-- | files/ca/web/html/element/bgsound/index.html | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/files/ca/web/html/element/bgsound/index.html b/files/ca/web/html/element/bgsound/index.html new file mode 100644 index 0000000000..766b9598eb --- /dev/null +++ b/files/ca/web/html/element/bgsound/index.html @@ -0,0 +1,106 @@ +--- +title: <bgsound> +slug: Web/HTML/Element/bgsound +tags: + - Element + - HTML + - Non-standard + - Reference + - Web +translation_of: Web/HTML/Element/bgsound +--- +<div>{{non-standard_header}}</div> + +<h2 id="Sumari">Sumari</h2> + +<p>L'element HTML So de Fons (<code><bgsound></code>) és un element d'Internet Explorer que associa un so de fons amb una pàgina.</p> + +<div class="note"> +<p><strong>No utilitzeu aquest!</strong> Per poder inserir l'àudio en una pàgina web, heu d'utilitzar l'element {{HTMLElement("audio")}}.</p> +</div> + +<h2 id="Atributs">Atributs</h2> + +<dl> + <dt>{{htmlattrdef("balance")}}</dt> + <dd><span id="result_box" lang="ca"><span>Aquest</span> <span>atribut</span> <span>defineix un</span> <span>nombre entre</span> <span>-10000</span> <span>i</span> <span>10000</span> <span>que determina com</span> <span>es</span> <span>dividirà el</span> <span>volum</span> <span>entre els</span> <span>altaveus</span></span></dd> + <dt>{{htmlattrdef("loop")}}</dt> + <dd>Aquest atribut indica el nombre de vegades que un so es reproduirà i pot tenir qualsevol valor numèric o la paraula clau infinita.</dd> + <dt>{{htmlattrdef("src")}}</dt> + <dd><span id="result_box" lang="ca"><span>Aquest</span> <span>atribut</span> <span>especifica</span> <span>l'adreça URL</span> <span>de l'arxiu de</span> <span>so que</span> <span>es</span> <span>reproduirà</span><span>,</span> <span>que ha de ser</span> <span>un dels</span> <span>següents</span> <span>tipus:</span> <span>.wav</span><span>,</span> <span>.au</span><span>,</span> <span>o</span> <span>.mid</span><span>.</span></span></dd> + <dt>{{htmlattrdef("volume")}}</dt> + <dd><span id="result_box" lang="ca"><span>Aquest</span> <span>atribut</span> <span>defineix un</span> <span>nombre entre</span> <span>0</span> <span>i</span> <span>10.000</span> <span>que determina la</span> <span>intensitat</span> <span>del so</span> <span>de fons</span> <span>d'una pàgina.</span></span></dd> +</dl> + +<h2 id="Exemple">Exemple</h2> + +<pre class="brush:html"><bgsound src="sound1.mid"> + +<bgsound src="sound2.au" loop="infinite"> +</pre> + +<h2 id="Notes">Notes</h2> + +<p><span id="result_box" lang="ca"><span>Funcionalitat</span> <span>similar pot</span> <span>aconseguir-se en</span> <span>algunes</span> <span>versions</span> <span>de Netscape</span> <span>que utilitzen</span> <span>l'etiqueta</span> <code><span><</span><span>embed</span><span>></span></code> <span>per invocar</span> <span>un reproductor</span> <span>d'àudio.</span></span></p> + +<p>Podem escriure bgsound amb una etiqueta de tancament <code><bgsound /></code>. No obstant això, ja que aquest element no és part d'una norma, pel que fa a XHTML no será validat.</p> + +<h2 id="Navegadors_compatibles">Navegadors compatibles</h2> + +<p>{{CompatibilityTable}}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Característica</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari</th> + </tr> + <tr> + <td>Suport bàsic</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatNo}} [1]</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatUnknown}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Característica</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Mobile</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>Suport bàsic</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatNo}} [1]</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatUnknown}}</td> + </tr> + </tbody> +</table> +</div> + +<p>[1] Fins Firefox 22, tot i no donar suport a aquest element, Gecko va associar-ho a {{domxref ("HTMLSpanElement")}}. Això va ser corregit i ara l'element associat és un {{domxref ("HTMLUnknownElement")}} com és requerit per l'especificació.</p> + +<h2 id="Veure">Veure</h2> + +<ul> + <li>El {{htmlelement("audio")}}, és l'element estàndard d'àudio per incrustar en un document.</li> +</ul> + +<div>{{HTMLRef}}</div> |