<iframe>

  • Revision slug: HTML/Element/iframe
  • Revision title: iframe
  • Revision id: 301383
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

Summary

The HTML inline frame element (<iframe>) represents a nested browsing context, effectively embedding another HTML page into the current page. Each browsing context has its own session history and active document. The browsing context that contains the embedded content is called the parent browsing context. The top-level browsing context (which has no parent) is typically the browser window.

Usage context

Permitted content Normal character data (text and character references)
Tag omission None, must have both a start tag and an end tag.
Permitted parent elements Any element that accepts phrasing content.
Normative document HTML 5, section 4.8.2; HTML 4.01, section 16.5

Attributes

Like all HTML elements, this element supports the global attributes.

{{ htmlattrdef("align") }} {{ deprecated_inline() }} in {{ HTMLVersionInline(4.01) }}, {{ obsolete_inline() }} in {{ HTMLVersionInline(5) }}
The alignment of this element with respect to the surrounding context.
{{ htmlattrdef("frameborder") }} {{ HTMLVersionInline(4) }} only
The value 1 (the default) tells the browser to draw a border between this frame and every other frame. The value 0 tells the browser not to draw a border between this frame and other frames.
{{ htmlattrdef("height") }}
Indicates the height of the frame {{ HTMLVersionInline(5) }} in CSS pixels, or {{ HTMLVersionInline(4.01) }} in pixels or as a percentage.
{{ htmlattrdef("longdesc") }} {{ HTMLVersionInline(4) }} only
A URI of a long description of the frame. Due to widespread misuse, this is not helpful for non-visual browsers.
{{ htmlattrdef("marginheight") }} {{ HTMLVersionInline(4) }} only
The amount of space in pixels between the frame's content and its top and bottom margins.
{{ htmlattrdef("marginwidth") }} {{ HTMLVersionInline(4) }} only
The amount of space in pixels between the frame's content and its left and right margins.
{{ htmlattrdef("mozallowfullscreen") }} {{ non-standard_inline() }}
In Gecko 9.0 or later, this attribute can be set to true if the frame is allowed to be placed into full screen mode by calling its {{ domxref("element.mozRequestFullScreen()") }} method. If this isn't set, the element can't be placed into full screen mode.
{{ htmlattrdef("webkitallowfullscreen") }} {{ non-standard_inline() }}
In Chrome 17 or later (and maybe earlier), this attribute can be set to true if the frame is allowed to be placed into full screen mode by calling its {{ domxref("element.webkitRequestFullScreen()") }} method. If this isn't set, the element can't be placed into full screen mode.
 
{{ htmlattrdef("mozapp") }} {{ non-standard_inline() }} {{ B2GOnlyInline() }}
For frames hosting an open web app, this specifies the URL of the app manifest. This ensures that the app is loaded with the right permissions. See Using the Browser API for details. Available in Gecko 13.0 and later.
{{ htmlattrdef("mozbrowser") }} {{ non-standard_inline() }} {{ B2GOnlyInline() }}
Indicates that the frame is to appear like a top-level browser window to the embedded content. This means that window.top, window.parent, window.frameElement, etc. will not reflect the frame hierarchy. This allows for a web browser UI to be implemented entirely with web technology, given the right permissions. See Using the Browser API for details. Available in Gecko 13.0 and later.
{{ htmlattrdef("name") }}
A name for the embedded browsing context (or frame). This can be used as the value of the target attribute of an {{ HTMLElement("a") }} or {{ HTMLElement("form") }} element, or the formtarget attribute of an {{ HTMLElement("input") }} or {{ HTMLElement("button") }} element.
{{ htmlattrdef("remote") }} {{ non-standard_inline() }} {{ B2GOnlyInline() }}
Load the frame's page in a separate content process.
{{ htmlattrdef("scrolling") }} {{ HTMLVersionInline(4) }} only
Enumerated attribute indicating when the browser should provide a scroll bar (or other scrolling device) for the frame:
  • auto: Only when needed.
  • yes: Always provide a scroll bar.
  • no: Never provide a scoll bar.
{{ htmlattrdef("sandbox") }} {{ HTMLVersionInline(5) }} only
If specified as an empty string, this attribute enables extra restrictions on the content that can appear in the inline frame. The value of the attribute can be a space-separated list of tokens that lift particular restrictions. Valid tokens are:
  • allow-same-origin: Allows the content to be treated as being from the same origin as the containing document. If this keyword is not used, the embedded content is treated as being from a unique origin.
  • allow-top-navigation: Allows the embedded browsing context to navigate (load) content from the top-level browsing context. If this keyword is not used, this operation is not allowed.
  • allow-forms: Allows the embedded browsing context to submit forms. If this keyword is not used, this operation is not allowed.
  • allow-scripts: Allows the embedded browsing context to run scripts (but not create pop-up windows). If this keyword is not used, this operation is not allowed.

Note:

  • When the embedded document have the same origin than the main page, it is strongly discouraged to use both allow-scripts and allow-same-origin at the same time, as they allow the embedded document to programmatically remove the sandbox attribute: though allowed, it basically consists in not putting the sandbox attribute in the first place and don't bring any extra security at all.
  • Sandboxing in general is only of minimal help if the attacker can convince the user the hostile content directly, rather than in an iframe. It is recommended that such content should be served from a separate dedicated domain, to limit the potential damage.
{{ htmlattrdef("seamless") }} {{ HTMLVersionInline(5) }} only
This Boolean attribute indicates that the browser should render the inline frame in a way that makes it appear to be part of the containing document, for example by applying CSS styles that apply to the <iframe> to the contained document before styles specified in that document, and by opening links in the contained documents in the parent browsing context (unless another setting prevents this).
{{ htmlattrdef("src") }}
The URL of the page to embed.
{{ htmlattrdef("srcdoc") }} {{ HTMLVersionInline(5) }} only
The content of the page that the embedded context is to contain.
{{ htmlattrdef("width") }}
Indicates the width of the frame {{ HTMLVersionInline(5) }} in CSS pixels, or {{ HTMLVersionInline(4.01) }} in pixels or as a percentage.

DOM interface

Scripting

Inline frames, like {{ HTMLElement("frame") }} elements, enter the window.frames pseudo-array.

From the DOM iframe element, scripts can get access to the window object of the included HTML page via the contentWindow property. The contentDocument property refers to the document element inside the iframe (this is equivalent to contentWindow.document), but is not supported by Internet Explorer versions before IE8.

From the inside of a frame, a script can get a reference to the parent window via window.parent.

Scripts trying to access a frame's content are subject to the same-origin policy, and cannot access most of the properties in the other window object if it was loaded from a different domain. This also applies to a script inside a frame trying to access its parent window. Cross-domain communication can still be achieved with window.postMessage.

Example

<script type="text/javascript">
  var iframe = window.getElementsByTagName( "iframe" )[ 0 ];
  alert( "Frame title: " + iframe.contentWindow.title );
</script>


<iframe src="page.html" width="300" height="300">
  <p>Your browser does not support iframes.</p>
</iframe>

Notes

{{ gecko_callout_heading("6.0") }}

Starting in Gecko 6.0 {{ geckoRelease("6.0") }}, rendering of inline frames correctly respects the borders of their containing element when they're rounded using {{ cssxref("border-radius") }}.

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 1.0 {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }}
sandbox 4 {{ CompatGeckoDesktop("17.0") }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
seamless 4 {{ CompatNo() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
srcdoc 4 {{ CompatNo() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
allowfullscreen 17 {{ property_prefix("webkit") }} {{ CompatGeckoDesktop("9.0") }} {{property_prefix("moz")}} {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }} {{ CompatVersionUnknown() }}
sandbox {{ CompatUnknown() }} {{ CompatGeckoMobile("17.0") }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
seamless {{ CompatUnknown() }} {{ CompatNo() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
srcdoc {{ CompatUnknown() }} {{ CompatNo() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
allowfullscreen {{ CompatUnknown() }} {{ CompatGeckoMobile("9.0") }}{{property_prefix("moz")}} {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }}

{{ HTML:Element_Navigation() }}

Revision Source

<h2 id="Summary">Summary</h2>
<p>The HTML&nbsp;inline frame element (<code>&lt;iframe&gt;</code>) represents a nested browsing context, effectively embedding another HTML page into the current page. Each browsing context has its own session history and active document. The browsing context that contains the embedded content is called the <dfn id="parent">parent</dfn> browsing context. The <dfn id="top-level">top-level</dfn> browsing context (which has no parent) is typically the browser window.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table">
  <tbody>
    <tr>
      <td>Permitted content</td>
      <td>Normal character data (text and character references)</td>
    </tr>
    <tr>
      <td>Tag omission</td>
      <td>None, must have both a start tag and an end tag.</td>
    </tr>
    <tr>
      <td>Permitted parent elements</td>
      <td>Any element that accepts <a href="/en/HTML/Content_categories#phrasing_content" title="en/HTML/Content categories#phrasing content">phrasing content</a>.</td>
    </tr>
    <tr>
      <td>Normative document</td>
      <td><a class="external" href="http://www.w3.org/TR/html5/the-iframe-element.html#the-iframe-element" title="http://www.w3.org/TR/html5/the-iframe-element.html#the-iframe-element">HTML&nbsp;5, section 4.8.2</a>; <a class="external" href="http://www.w3.org/TR/html401/present/frames.html#h-16.5" title="http://www.w3.org/TR/html401/present/frames.html#h-16.5">HTML 4.01, section 16.5</a></td>
    </tr>
  </tbody>
</table>
<h2 id="Attributes">Attributes</h2>
<p>Like all HTML elements, this element supports the <a href="/en/HTML/Global_attributes" title="en/HTML/Global attributes">global attributes</a>.</p>
<dl>
  <dt>
    {{ htmlattrdef("align") }} {{ deprecated_inline() }} in {{ HTMLVersionInline(4.01) }}, {{ obsolete_inline() }} in {{ HTMLVersionInline(5) }}</dt>
  <dd>
    The alignment of this element with respect to the surrounding context.</dd>
  <dt>
    {{ htmlattrdef("frameborder") }}&nbsp;{{ HTMLVersionInline(4) }}&nbsp;only</dt>
  <dd>
    The value 1 (the default) tells the browser to draw a border between this frame and every other frame. The value 0 tells the browser not to draw a border between this frame and other frames.</dd>
  <dt>
    {{ htmlattrdef("height") }}</dt>
  <dd>
    Indicates the height of the frame {{ HTMLVersionInline(5) }} in CSS&nbsp;pixels, or {{ HTMLVersionInline(4.01) }} in pixels or as a percentage.</dd>
  <dt>
    {{ htmlattrdef("longdesc") }} {{ HTMLVersionInline(4) }}&nbsp;only</dt>
  <dd>
    A URI&nbsp;of a long description of the frame. Due to widespread misuse, this is not helpful for non-visual browsers.</dd>
  <dt>
    {{ htmlattrdef("marginheight") }} {{ HTMLVersionInline(4) }}&nbsp;only</dt>
  <dd>
    The amount of space in pixels between the frame's content and its top and bottom margins.</dd>
  <dt>
    {{ htmlattrdef("marginwidth") }} {{ HTMLVersionInline(4) }}&nbsp;only</dt>
  <dd>
    The amount of space in pixels between the frame's content and its left and right margins.</dd>
  <dt>
    {{ htmlattrdef("mozallowfullscreen") }} {{ non-standard_inline() }}</dt>
  <dd>
    In Gecko 9.0 or later, this attribute can be set to <code>true</code> if the frame is allowed to be placed into full screen mode by calling its {{ domxref("element.mozRequestFullScreen()") }} method. If this isn't set, the element can't be placed into full screen mode.</dd>
  <dt>
    {{ htmlattrdef("webkitallowfullscreen") }} {{ non-standard_inline() }}</dt>
  <dd>
    In Chrome 17 or later (and maybe earlier), this attribute can be set to <code>true</code> if the frame is allowed to be placed into full screen mode by calling its {{ domxref("element.webkitRequestFullScreen()") }} method. If this isn't set, the element can't be placed into full screen mode.</dd>
  <dt>
    &nbsp;</dt>
  <dt>
    {{ htmlattrdef("mozapp") }} {{ non-standard_inline() }} {{ B2GOnlyInline() }}</dt>
  <dd>
    For frames hosting an <a href="/en/Apps" title="https://developer.mozilla.org/en/OpenWebApps">open web app</a>, this specifies the URL of the <a href="/en/Apps/Manifest" title="https://developer.mozilla.org/en/Apps/Manifest">app manifest</a>. This ensures that the app is loaded with the right permissions. See <a href="/en/DOM/Using_the_Browser_API" title="https://developer.mozilla.org/en/DOM/Using_the_Browser_API">Using the Browser API</a> for details. Available in Gecko 13.0 and later.</dd>
  <dt>
    {{ htmlattrdef("mozbrowser") }} {{ non-standard_inline() }} {{ B2GOnlyInline() }}</dt>
  <dd>
    Indicates that the frame is to appear like a top-level browser window to the embedded content. This means that <span id="summary_alias_container"><span id="short_desc_nonedit_display"><a href="/en/DOM/window.top" title="https://developer.mozilla.org/en/DOM/window.top"><code>window.top</code></a>, <a href="/en/DOM/window.parent" title="https://developer.mozilla.org/en/DOM/window.parent"><code>window.parent</code></a>, <a href="/en/DOM/window.frameElement" title="https://developer.mozilla.org/en/DOM/window.frameElement"><code>window.frameElement</code></a>, etc. will <em>not</em> reflect the frame hierarchy. This allows for a web browser UI to be implemented entirely with web technology, given the right permissions.</span></span> See <a href="/en/DOM/Using_the_Browser_API" title="https://developer.mozilla.org/en/DOM/Using_the_Browser_API">Using the Browser API</a> for details. Available in Gecko 13.0 and later.</dd>
  <dt>
    {{ htmlattrdef("name") }}</dt>
  <dd>
    A name for the embedded browsing context (or frame). This can be used as the value of the <strong>target</strong> attribute of an {{ HTMLElement("a") }} or {{ HTMLElement("form") }} element, or the formtarget attribute of an {{ HTMLElement("input") }} or {{ HTMLElement("button") }} element.</dd>
  <dt>
    {{ htmlattrdef("remote") }} {{ non-standard_inline() }} {{ B2GOnlyInline() }}</dt>
  <dd>
    Load the frame's page in a separate content process.</dd>
  <dt>
    {{ htmlattrdef("scrolling") }} {{ HTMLVersionInline(4) }}&nbsp;only</dt>
  <dd>
    Enumerated attribute indicating when the browser should provide a scroll bar (or other scrolling device) for the frame:
    <ul>
      <li><code>auto</code>:&nbsp;Only when needed.</li>
      <li><code>yes</code>: Always provide a scroll bar.</li>
      <li><code>no</code>: Never provide a scoll bar.</li>
    </ul>
  </dd>
  <dt>
    {{ htmlattrdef("sandbox") }}&nbsp;{{ HTMLVersionInline(5) }} only</dt>
  <dd>
    If specified as an empty string, this attribute enables extra restrictions on the content that can appear in the inline frame. The value of the attribute can be a space-separated list of tokens that lift particular restrictions. Valid tokens are:
    <ul>
      <li><code>allow-same-origin</code>:&nbsp;Allows the content to be treated as being from the same origin as the containing document. If this keyword is not used, the embedded content is treated as being from a unique origin.</li>
      <li><code>allow-top-navigation</code>: Allows the embedded browsing context to navigate (load) content from the top-level browsing context. If this keyword is not used, this operation is not allowed.</li>
      <li><code>allow-forms</code>: Allows the embedded browsing context to submit forms. If this keyword is not used, this operation is not allowed.</li>
      <li><code>allow-scripts</code>: Allows the embedded browsing context to run scripts (but not create pop-up windows). If this keyword is not used, this operation is not allowed.</li>
    </ul>
    <div class="note">
      <p><strong>Note:</strong></p>
      <ul>
        <li>When the embedded document have the same origin than the main page, it is strongly discouraged to use both <code>allow-scripts</code> and <code>allow-same-origin</code> at the same time, as they allow the embedded document to programmatically remove the <code>sandbox</code> attribute: though allowed, it basically consists in not putting the <code>sandbox</code> attribute in the first place and don't bring any extra security at all.</li>
        <li>Sandboxing in general is only of minimal help if the attacker can convince the user the hostile content directly, rather than in an <code>iframe</code>. It is recommended that such content should be served from a <em>separate dedicated domain</em>, to limit the potential damage.</li>
      </ul>
    </div>
  </dd>
  <dt>
    {{ htmlattrdef("seamless") }} {{ HTMLVersionInline(5) }}&nbsp;only</dt>
  <dd>
    This Boolean attribute indicates that the browser should render the inline frame in a way that makes it appear to be part of the containing document, for example by applying CSS&nbsp;styles that apply to the <code>&lt;iframe&gt;</code>&nbsp;to the contained document before styles specified in that document, and by opening links in the contained documents in the parent browsing context (unless another setting prevents this).</dd>
  <dt>
    {{ htmlattrdef("src") }}</dt>
  <dd>
    The URL&nbsp;of the page to embed.</dd>
  <dt>
    {{ htmlattrdef("srcdoc") }} {{ HTMLVersionInline(5) }} only</dt>
  <dd>
    The content of the page that the embedded context is to contain.</dd>
  <dt>
    {{ htmlattrdef("width") }}</dt>
  <dd>
    Indicates the width of the frame {{ HTMLVersionInline(5) }} in CSS&nbsp;pixels, or {{ HTMLVersionInline(4.01) }} in pixels or as a percentage.</dd>
</dl>
<h2 id="DOM.C2.A0interface">DOM&nbsp;interface</h2>
<ul>
  <li><a href="/en/DOM/HTMLIFrameElement" title="en/DOM/HTMLIFrameElement">HTMLIFrameElement</a></li>
</ul>
<h2 id="Scripting">Scripting</h2>
<p>Inline frames, like {{ HTMLElement("frame") }}&nbsp;elements, enter the <code><a class="internal" href="/en/DOM/window.frames" title="en/DOM/window.frames">window.frames</a></code>&nbsp;pseudo-array.</p>
<p>From the DOM <code>iframe</code> element, scripts can get access to the <a class="internal" href="/en/DOM/window" title="en/DOM/window"><code>window</code></a> object of the included HTML page via the <code>contentWindow</code> property. The <code>contentDocument</code> property refers to the document element inside the <code>iframe</code> (this is equivalent to <code>contentWindow.document</code>), but is not supported by Internet Explorer versions before IE8.</p>
<p>From the inside of a frame, a script can get a reference to the parent window via <code><a class="internal" href="/en/DOM/window.parent" title="en/DOM/window.parent">window.parent</a></code>.</p>
<p>Scripts trying to access a frame's content are subject to the <a class="internal" href="/en/Same_origin_policy_for_JavaScript" title="en/Same origin policy for JavaScript">same-origin policy</a>, and cannot access most of the properties in the other window object if it was loaded from a different domain. This also applies to a script inside a frame trying to access its parent window. Cross-domain communication can still be achieved with <code><a class="internal" href="/en/DOM/window.postMessage" title="en/DOM/window.postMessage">window.postMessage</a></code>.</p>
<h2 id="Example">Example</h2>
<pre class="brush: html">
&lt;script type="text/javascript"&gt;
  var iframe = window.getElementsByTagName( "iframe" )[ 0 ];
  alert( "Frame title: " + iframe.contentWindow.title );
&lt;/script&gt;


&lt;iframe src="page.html" width="300" height="300"&gt;
  &lt;p&gt;Your browser does not support iframes.&lt;/p&gt;
&lt;/iframe&gt;</pre>
<h2 id="Notes">Notes</h2>
<div class="geckoVersionNote">
  <p>{{ gecko_callout_heading("6.0") }}</p>
  <p>Starting in&nbsp;Gecko 6.0 {{ geckoRelease("6.0") }}, rendering of inline frames correctly respects the borders of their containing element when they're rounded using {{ cssxref("border-radius") }}.</p>
</div>
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h2>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Chrome</th>
        <th>Firefox (Gecko)</th>
        <th>Internet Explorer</th>
        <th>Opera</th>
        <th>Safari (WebKit)</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>1.0</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
      </tr>
      <tr>
        <td><code>sandbox</code></td>
        <td>4</td>
        <td>{{ CompatGeckoDesktop("17.0") }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
      <tr>
        <td><code>seamless</code></td>
        <td>4</td>
        <td>{{ CompatNo() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
      <tr>
        <td><code>srcdoc</code></td>
        <td>4</td>
        <td>{{ CompatNo() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
      <tr>
        <td><code>allowfullscreen</code></td>
        <td>17 {{ property_prefix("webkit") }}</td>
        <td>{{ CompatGeckoDesktop("9.0") }} {{property_prefix("moz")}}</td>
        <td>{{ CompatNo() }}</td>
        <td>{{ CompatNo() }}</td>
        <td>{{ CompatNo() }}</td>
      </tr>
    </tbody>
  </table>
</div>
<div id="compat-mobile">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Android</th>
        <th>Firefox Mobile (Gecko)</th>
        <th>IE&nbsp;Phone</th>
        <th>Opera Mobile</th>
        <th>Safari Mobile</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
        <td>{{ CompatVersionUnknown() }}</td>
      </tr>
      <tr>
        <td><code>sandbox</code></td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatGeckoMobile("17.0") }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
      <tr>
        <td><code>seamless</code></td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatNo() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
      <tr>
        <td><code>srcdoc</code></td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatNo() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
      <tr>
        <td><code>allowfullscreen</code></td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatGeckoMobile("9.0") }}{{property_prefix("moz")}}</td>
        <td>{{ CompatNo() }}</td>
        <td>{{ CompatNo() }}</td>
        <td>{{ CompatNo() }}</td>
      </tr>
    </tbody>
  </table>
</div>
<p>{{ HTML:Element_Navigation() }}</p>
Revert to this revision