diff options
| author | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
| commit | 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch) | |
| tree | 158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/html/element%2Fembed.html | |
| parent | 9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff) | |
| download | dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip | |
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/html/element%2Fembed.html')
| -rw-r--r-- | devdocs/html/element%2Fembed.html | 171 |
1 files changed, 0 insertions, 171 deletions
diff --git a/devdocs/html/element%2Fembed.html b/devdocs/html/element%2Fembed.html deleted file mode 100644 index f89fc0d6..00000000 --- a/devdocs/html/element%2Fembed.html +++ /dev/null @@ -1,171 +0,0 @@ -<header><h1><embed>: The Embed External Content element</h1></header><div class="section-content"><p>The <code><embed></code> <a href="../index">HTML</a> element embeds external content at the specified point in the document. This content is provided by an external application or other source of interactive content such as a browser plug-in.</p></div> -<h2 id="try_it">Try it</h2> -<div class="section-content"> -<iframe class="interactive is-tabbed-standard-height" height="200" src="https://interactive-examples.mdn.mozilla.net/pages/tabbed/embed.html" title="MDN Web Docs Interactive Example" loading="lazy"></iframe> <div class="notecard note" id="sect1"> <p><strong>Note:</strong> This topic documents only the element that is defined as part of the <a href="https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-embed-element" target="_blank">HTML Living Standard</a>. It does not address earlier, non-standardized implementation of the element.</p> </div> <p>Keep in mind that most modern browsers have deprecated and removed support for browser plug-ins, so relying upon <code><embed></code> is generally not wise if you want your site to be operable on the average user's browser.</p> -</div> -<h2 id="attributes">Attributes</h2> -<div class="section-content"> -<p>This element's attributes include the <a href="../global_attributes">global attributes</a>.</p> <dl> <dt id="height"><a href="#height"><code>height</code></a></dt> <dd> <p>The displayed height of the resource, in <a href="https://drafts.csswg.org/css-values/#px" target="_blank">CSS pixels</a>. This must be an absolute value; percentages are <em>not</em> allowed.</p> </dd> <dt id="src"><a href="#src"><code>src</code></a></dt> <dd> <p>The URL of the resource being embedded.</p> </dd> <dt id="type"><a href="#type"><code>type</code></a></dt> <dd> <p>The <a href="https://developer.mozilla.org/en-US/docs/Glossary/MIME_type">MIME type</a> to use to select the plug-in to instantiate.</p> </dd> <dt id="width"><a href="#width"><code>width</code></a></dt> <dd> <p>The displayed width of the resource, in <a href="https://drafts.csswg.org/css-values/#px" target="_blank">CSS pixels</a>. This must be an absolute value; percentages are <em>not</em> allowed.</p> </dd> </dl> -</div> -<h2 id="usage_notes">Usage notes</h2> -<div class="section-content"><p>You can use the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/object-position"><code>object-position</code></a> property to adjust the positioning of the embedded object within the element's frame, and the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit"><code>object-fit</code></a> property to control how the object's size is adjusted to fit within the frame.</p></div> -<h2 id="examples">Examples</h2> -<div class="section-content"><div class="code-example"> -<p class="example-header"><span class="language-name">html</span></p> -<pre data-signature="tYYdqDwXFd6cdGnvO0Hh6rTFsyzUtoUyVX2rrRCgMGQ=" data-language="html"><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>embed</span> - <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>video/quicktime<span class="token punctuation">"</span></span> - <span class="token attr-name">src</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>movie.mov<span class="token punctuation">"</span></span> - <span class="token attr-name">width</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>640<span class="token punctuation">"</span></span> - <span class="token attr-name">height</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>480<span class="token punctuation">"</span></span> - <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>Title of my video<span class="token punctuation">"</span></span> <span class="token punctuation">/></span></span> -</pre> -</div></div> -<h2 id="accessibility_concerns">Accessibility concerns</h2> -<div class="section-content"><p>Use the <a href="../global_attributes/title"><code>title</code> attribute</a> on an <code>embed</code> element to label its content so that people navigating with assistive technology such as a screen reader can understand what it contains. The title's value should concisely describe the embedded content. Without a title, they may not be able to determine what its embedded content is. This context shift can be confusing and time-consuming, especially if the <code>embed</code> element contains interactive content like video or audio.</p></div> -<h2 id="technical_summary">Technical summary</h2> -<div class="section-content"><figure class="table-container"><div class="_table"><table class="properties"> <tbody> <tr> <th scope="row"><a href="../content_categories">Content categories</a></th> <td> <a href="../content_categories#flow_content">Flow content</a>, <a href="../content_categories#phrasing_content">phrasing content</a>, embedded content, interactive content, <a href="../content_categories#palpable_content">palpable content</a>. </td> </tr> <tr> <th scope="row">Permitted content</th> <td>None; it is a <a href="https://developer.mozilla.org/en-US/docs/Glossary/Void_element">void element</a>.</td> </tr> <tr> <th scope="row">Tag omission</th> <td>Must have a start tag, and must not have an end tag.</td> </tr> <tr> <th scope="row">Permitted parents</th> <td>Any element that accepts embedded content.</td> </tr> <tr> <th scope="row">Implicit ARIA role</th> <td><a href="https://www.w3.org/TR/html-aria/#dfn-no-corresponding-role" target="_blank">No corresponding role</a></td> </tr> <tr> <th scope="row">Permitted ARIA roles</th> <td> <a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/application_role"><code>application</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/document_role"><code>document</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/img_role"><code>img</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/none_role"><code>none</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/presentation_role"><code>presentation</code></a> </td> </tr> <tr> <th scope="row">DOM interface</th> <td><a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement"><code>HTMLEmbedElement</code></a></td> </tr> </tbody> </table></div></figure></div> -<h2 id="specifications">Specifications</h2> -<div class="_table"><table class="standard-table"> -<thead><tr><th scope="col">Specification</th></tr></thead> -<tbody><tr><td><a href="https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-embed-element">HTML Standard <br><small># the-embed-element</small></a></td></tr></tbody> -</table></div> -<h2 id="browser_compatibility">Browser compatibility</h2> -<div class="_table"><table> -<thead> -<tr id="bct-browser-type"> -<th></th> -<th colspan="6">Desktop</th> -<th colspan="6">Mobile</th> -</tr> -<tr id="bct-browsers"> -<th></th> -<th>Chrome</th> -<th>Edge</th> -<th>Firefox</th> -<th>Internet Explorer</th> -<th>Opera</th> -<th>Safari</th> -<th>WebView Android</th> -<th>Chrome Android</th> -<th>Firefox for Android</th> -<th>Opera Android</th> -<th>Safari on IOS</th> -<th>Samsung Internet</th> -</tr> -</thead> -<tbody> -<tr> -<th><code>embed</code></th> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">12</td> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">Yes</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤4</td> -<td class="bc-supports-yes">4.4</td> -<td class="bc-supports-yes">18</td> -<td class="bc-supports-yes">4</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤3.2</td> -<td class="bc-supports-yes">1.0</td> -</tr> -<tr> -<th><code>align</code></th> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">79</td> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-no">No</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤4</td> -<td class="bc-supports-yes">4.4</td> -<td class="bc-supports-yes">18</td> -<td class="bc-supports-yes">4</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤3.2</td> -<td class="bc-supports-yes">1.0</td> -</tr> -<tr> -<th><code>height</code></th> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">12</td> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">≤6</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤4</td> -<td class="bc-supports-yes">4.4</td> -<td class="bc-supports-yes">18</td> -<td class="bc-supports-yes">4</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤3.2</td> -<td class="bc-supports-yes">1.0</td> -</tr> -<tr> -<th><code>name</code></th> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">12</td> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">≤6</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤4</td> -<td class="bc-supports-yes">4.4</td> -<td class="bc-supports-yes">18</td> -<td class="bc-supports-yes">4</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤3.2</td> -<td class="bc-supports-yes">1.0</td> -</tr> -<tr> -<th><code>src</code></th> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">12</td> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">≤6</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤4</td> -<td class="bc-supports-yes">4.4</td> -<td class="bc-supports-yes">18</td> -<td class="bc-supports-yes">4</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤3.2</td> -<td class="bc-supports-yes">1.0</td> -</tr> -<tr> -<th><code>type</code></th> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">79</td> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-no">No</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤4</td> -<td class="bc-supports-yes">4.4</td> -<td class="bc-supports-yes">18</td> -<td class="bc-supports-yes">4</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤3.2</td> -<td class="bc-supports-yes">1.0</td> -</tr> -<tr> -<th><code>width</code></th> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">12</td> -<td class="bc-supports-yes">1</td> -<td class="bc-supports-yes">≤6</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤4</td> -<td class="bc-supports-yes">4.4</td> -<td class="bc-supports-yes">18</td> -<td class="bc-supports-yes">4</td> -<td class="bc-supports-yes">≤12.1</td> -<td class="bc-supports-yes">≤3.2</td> -<td class="bc-supports-yes">1.0</td> -</tr> -</tbody> -</table></div> -<h2 id="see_also">See also</h2> -<div class="section-content"><ul> <li>Other elements that are used for embedding content of various types include <a href="audio"><code><audio></code></a>, <a href="canvas"><code><canvas></code></a>, <a href="iframe"><code><iframe></code></a>, <a href="img"><code><img></code></a>, <code><a href="https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math"><math></a></code>, <a href="object"><code><object></code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg"><code><svg></code></a>, and <a href="video"><code><video></code></a>.</li> <li>Positioning and sizing the embedded content within its frame: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/object-position"><code>object-position</code></a> and <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit"><code>object-fit</code></a> -</li> </ul></div><div class="_attribution"> - <p class="_attribution-p"> - © 2005–2023 MDN contributors.<br>Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.<br> - <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed" class="_attribution-link">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed</a> - </p> -</div> |
