From 4b1a9203c547c019fc5398082ae19a3f3d4c3efe Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:15 -0500 Subject: initial commit --- files/ca/web/html/element/embed/index.html | 127 +++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 files/ca/web/html/element/embed/index.html (limited to 'files/ca/web/html/element/embed/index.html') 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: +slug: Web/HTML/Element/embed +tags: + - Element + - HTML + - HTML embedded content + - HTML5 + - Reference + - Web +translation_of: Web/HTML/Element/embed +--- +

Sumari

+ +

L'Element HTML <embed> representa un punt d'integració per a una aplicació externa o contingut interactiu (en altres paraules, un plug-in).

+ +
+

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.")

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Categories de contingutContingut dinàmic, phrasing content, contingut incrustat, contingut interactiu, contingut palpable.
Contingut permèsCap, és un {{Glossary("empty element")}}.
Omissió de l'etiquetaHa de tenir una etiqueta d'inici, i no ha de tenir una etiqueta de tancament.
Elements pares permesosQualsevol element que accepti contingut incrustat.
Interfície DOM{{domxref("HTMLEmbedElement")}}
+ +

Atributs

+ +

Aquest element inclou els atributs globals.

+ +
+
{{htmlattrdef("height")}}
+
L'alçada mostrada del recurs, en píxels CSS.
+
{{htmlattrdef("src")}}
+
L'adreça URL del recurs que s'ha incrusta.
+
{{htmlattrdef("type")}}
+
El tipus MIME a utilitzar per seleccionar el plug-in per crear una instància.
+
{{htmlattrdef("width")}}
+
L'amplada mostrada del recurs, en píxels CSS.
+
+ +

Exemples

+ +
<embed type="video/quicktime" src="movie.mov" width="640" height="480">
+
+ +

Especificacions

+ + + + + + + + + + + + + + + + + + + + + +
EspecificacióEstatComentari
{{SpecName('HTML WHATWG', 'the-iframe-element.html#the-embed-element', '<embed>')}}{{Spec2('HTML WHATWG')}} 
{{SpecName('HTML5 W3C', 'embedded-content-0.html#the-embed-element', '<embed>')}}{{Spec2('HTML5 W3C')}} 
+ + + +
+

Nota: 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 <object> o <iframe>

+
+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + +
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Suport bàsic{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.0")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +

Veure

+ + + +

{{ HTMLRef }}

-- cgit v1.2.3-54-g00ecf