aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/html/element/embed/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:15 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:15 -0500
commit4b1a9203c547c019fc5398082ae19a3f3d4c3efe (patch)
treed4a40e13ceeb9f85479605110a76e7a4d5f3b56b /files/ca/web/html/element/embed/index.html
parent33058f2b292b3a581333bdfb21b8f671898c5060 (diff)
downloadtranslated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.gz
translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.bz2
translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.zip
initial commit
Diffstat (limited to 'files/ca/web/html/element/embed/index.html')
-rw-r--r--files/ca/web/html/element/embed/index.html127
1 files changed, 127 insertions, 0 deletions
diff --git a/files/ca/web/html/element/embed/index.html b/files/ca/web/html/element/embed/index.html
new file mode 100644
index 0000000000..52ad4b3062
--- /dev/null
+++ b/files/ca/web/html/element/embed/index.html
@@ -0,0 +1,127 @@
+---
+title: <embed>
+slug: Web/HTML/Element/embed
+tags:
+ - Element
+ - HTML
+ - HTML embedded content
+ - HTML5
+ - Reference
+ - Web
+translation_of: Web/HTML/Element/embed
+---
+<h2 id="Sumari">Sumari</h2>
+
+<p>L'<strong>Element HTML <code>&lt;embed&gt;</code></strong> representa un punt d'integració per a una aplicació externa o contingut interactiu (en altres paraules, un plug-in).</p>
+
+<div class="note">
+<p>Nota ("Aquest tema només documenta l'element que es defineix com a part d'HTML5. No es refereix a una implementació anterior, no estandarditzada de l'element.")</p>
+</div>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row"><a href="/en-US/docs/HTML/Content_categories" title="HTML/Content_categories">Categories de contingut</a></th>
+ <td><a href="/en-US/docs/HTML/Content_categories#Flow_content" title="HTML/Content categories#Flow content">Contingut dinàmic</a>, <a href="/en-US/docs/HTML/Content_categories#Phrasing_content" title="HTML/Content categories#Phrasing content">phrasing content</a>, contingut incrustat, contingut interactiu, contingut palpable.</td>
+ </tr>
+ <tr>
+ <th scope="row">Contingut permès</th>
+ <td>Cap, és un {{Glossary("empty element")}}.</td>
+ </tr>
+ <tr>
+ <th scope="row">Omissió de l'etiqueta</th>
+ <td><span id="result_box" lang="ca"><span>Ha de tenir una</span> <span>etiqueta</span> <span>d'inici,</span> <span>i</span> <span>no ha de tenir</span> <span>una etiqueta</span> <span>de tancament</span></span>.</td>
+ </tr>
+ <tr>
+ <th scope="row">Elements pares permesos</th>
+ <td>Qualsevol element que accepti contingut incrustat.</td>
+ </tr>
+ <tr>
+ <th scope="row">Interfície DOM</th>
+ <td>{{domxref("HTMLEmbedElement")}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Atributs">Atributs</h2>
+
+<p>Aquest element inclou els<span style="line-height: 21px;"> </span><a href="https://developer.mozilla.org/en-US/docs/HTML/Global_attributes" style="line-height: 21px;" title="HTML/Global attributes">atributs globals</a><span style="line-height: 21px;">.</span></p>
+
+<dl>
+ <dt>{{htmlattrdef("height")}}</dt>
+ <dd><span id="result_box" lang="ca"><span>L'alçada</span> <span>mostrada</span> <span>del recurs,</span> <span>en píxels</span> <span>CSS.</span></span></dd>
+ <dt>{{htmlattrdef("src")}}</dt>
+ <dd><span id="result_box" lang="ca"><span>L'adreça URL</span> <span>del recurs</span> <span>que s'ha</span> <span>incrusta</span><span>.</span></span></dd>
+ <dt>{{htmlattrdef("type")}}</dt>
+ <dd>El tipus MIME a utilitzar per seleccionar el plug-in per crear una instància.</dd>
+ <dt>{{htmlattrdef("width")}}</dt>
+ <dd><span id="result_box" lang="ca"><span>L'amplada</span> <span>mostrada</span> <span>del recurs,</span> <span>en píxels</span> <span>CSS.</span></span></dd>
+</dl>
+
+<h2 id="Exemples">Exemples</h2>
+
+<pre class="brush: html">&lt;embed type="video/quicktime" src="movie.mov" width="640" height="480"&gt;
+</pre>
+
+<h2 id="Specifications" name="Specifications">Especificacions</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Especificació</th>
+ <th scope="col">Estat</th>
+ <th scope="col">Comentari</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', 'the-iframe-element.html#the-embed-element', '&lt;embed&gt;')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'embedded-content-0.html#the-embed-element', '&lt;embed&gt;')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Navegadors_compatibles">Navegadors compatibles</h2>
+
+<div class="note">
+<p><strong>Nota</strong>: Actualment existeix una diferència d'implementació entre els navegadors. Mentre Blink (Chrome, Opera) mostrarà el contingut del recurs HTML, Firefox mostrarà un missatge genèric dient que el contingut necessita un plug-in (veure {{Bug ("730.768")}}). Es recomana utilitzar l'element &lt;object&gt; o &lt;iframe&gt;</p>
+</div>
+
+<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>{{CompatVersionUnknown}}</td>
+ <td>{{CompatGeckoDesktop("1.0")}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="Veure">Veure</h2>
+
+<ul>
+ <li>Altres elements que s'utilitzen per incrustar continguts de diversos tipus, inclouen {{HTMLElement("audio")}}, {{HTMLElement("canvas")}}, {{HTMLElement("iframe")}}, {{HTMLElement("img")}}, {{MathMLElement("math")}}, {{HTMLElement("object")}}, {{SVGElement("svg")}}, and {{HTMLElement("video")}}.</li>
+</ul>
+
+<p>{{ HTMLRef }}</p>