1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
|
---
title: <iframe>
slug: Web/HTML/Element/iframe
translation_of: Web/HTML/Element/iframe
---
<div>{{HTMLRef}}</div>
<p>Il <strong><dfn>HTML Inline Frame Element</dfn> <code><iframe></code></strong> rappresenta una pagina HTML contenuta dentro un'altra pagina. Un <strong><iframe></strong> puó essere utilizzato all'interno di un normale documento HTML. Ciascun <strong><iframe> </strong>ha una sua cronologia. La pagina HTML che contiene l'iframe si chiama <strong>parent </strong>(genitore).</p>
<table class="properties">
<tbody>
<tr>
<th scope="row"><a href="/en-US/docs/HTML/Content_categories">Content categories</a></th>
<td><a href="/en-US/docs/HTML/Content_categories#Flow_content">Flow content</a>, <a href="/en-US/docs/HTML/Content_categories#Phrasing_content">phrasing content</a>, embedded content, interactive content, palpable content.</td>
</tr>
<tr>
<th scope="row">Permitted content</th>
<td>Special, see prose</td>
</tr>
<tr>
<th scope="row">Tag omission</th>
<td>{{no_tag_omission}}</td>
</tr>
<tr>
<th scope="row">Permitted parents</th>
<td>Any element that accepts embedded content.</td>
</tr>
<tr>
<th scope="row">Permitted ARIA roles</th>
<td>{{ARIARole("application")}}, {{ARIARole("document")}}, {{ARIARole("img")}}</td>
</tr>
<tr>
<th scope="row">DOM interface</th>
<td>{{domxref("HTMLIFrameElement")}}</td>
</tr>
</tbody>
</table>
<h2 id="Attributi">Attributi</h2>
<p>L'elemento <strong><iframe> </strong>possiede i seguenti attributi.</p>
<dl>
<dt>{{htmlattrdef("align")}} {{deprecated_inline("html4.01")}}, {{obsolete_inline("html5")}}</dt>
<dd>L'allineamento dell'iframe rispetto al contesto circostante.</dd>
<dt></dt>
<dt>{{htmlattrdef("allowfullscreen")}}</dt>
<dd>Se questo attributo è settato a <code>true</code> l'iframe puó essere collocato a schermo intero chiamando il metodo {{domxref("Element.requestFullscreen()")}}. Se non é settato l'iframe non puó collocari a schermo intero.</dd>
<dt>{{htmlattrdef("frameborder")}} {{HTMLVersionInline(4)}} only</dt>
<dd>Il valore 1 (default) dice al browser di disegnare un bordo tra l'iframe ed ogni altro iframe. Il valore - dice al browser di non disegnare un bordo tra l'iframe ed ogni altro iframe.</dd>
<dt>{{htmlattrdef("height")}}</dt>
<dd>Indica l'altezza dell'iframe {{HTMLVersionInline(5)}} in CSS pixels.</dd>
<dt>{{htmlattrdef("longdesc")}} {{HTMLVersionInline(4)}} only</dt>
<dd>Non é supportato in HTML5. É un URI di una descrizione del frame.</dd>
<dt>{{htmlattrdef("marginheight")}} {{HTMLVersionInline(4)}} only</dt>
<dd>Non é supportato in HTML5. É il margine superiore ed inferiore in pixel.</dd>
<dt>{{htmlattrdef("marginwidth")}} {{HTMLVersionInline(4)}} only</dt>
<dd>Non é supportato in HTML5. É il margine destro e sinistro in pixel.</dd>
<dt>{{htmlattrdef("mozallowfullscreen")}} {{non-standard_inline}} {{deprecated_inline}}</dt>
<dd>Usa <code><strong>allowfullscreen</strong></code> invece. Per Gecko 9.0 o superiori. Se questo attributo è settato a <code>true</code> l'iframe puó essere collocato a schermo intero chiamando il metodo {{domxref("Element.requestFullscreen()")}}. Se non é settato l'iframe non puó collocari a schermo intero.</dd>
<dt>{{htmlattrdef("webkitallowfullscreen")}} {{non-standard_inline}} {{deprecated_inline}}</dt>
<dd>Usa <code><strong>allowfullscreen</strong></code> invece. Per Chrome 17 o superiori. Se questo attributo è settato a <code>true</code> l'iframe puó essere collocato a schermo intero chiamando il metodo {{domxref("Element.requestFullscreen()")}}. Se non é settato l'iframe non puó collocari a schermo intero.</dd>
<dt>{{htmlattrdef("mozapp")}} {{non-standard_inline}}</dt>
<dd>Per iframe ospitati da <a href="/en-US/docs/Apps" title="OpenWebApps">open web app</a>, questo attributo specifica l'URL all' <a href="/en-US/docs/Apps/Manifest">app manifest</a>. Questo attributo assicura che l'iframe é visualizzato con i giusti permessi.</dd>
<dt>{{htmlattrdef("mozbrowser")}} {{non-standard_inline}}</dt>
<dd>Indica che l'iframe deve apparire come una pagina top-level. Questo significa che {{domxref("window.top")}}, {{domxref("window.parent")}}, {{domxref("window.frameElement")}}, etc. non rifletteranno la gerarchia dei frame.</dd>
<dt id="name-attribute">{{htmlattrdef("name")}}</dt>
<dd>Il nome dell' iframe.</dd>
<dt id="attr-referrer">{{htmlattrdef("referrerpolicy")}} {{experimental_inline}}</dt>
<dd>A string indicating which referrer to use when fetching the resource:
<ul>
<li><code>"no-referrer"</code> meaning that the <code>Referer:</code> header will not be sent.</li>
<li>"<code>no-referrer-when-downgrade</code>" meaning that no <code>Referer:</code> header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.</li>
<li><code>"origin"</code> meaning that the referrer will be the origin of the page, that is roughly the scheme, the host and the port.</li>
<li>"origin-when-cross-origin" meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.</li>
<li><code>"unsafe-url"</code> meaning that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.</li>
</ul>
</dd>
<dt>{{htmlattrdef("remote")}} {{non-standard_inline}}</dt>
<dd>Load the frame's page in a separate content process.</dd>
<dt>{{htmlattrdef("scrolling")}} {{HTMLVersionInline(4)}} only</dt>
<dd>Indica se l'iframe deve fornire una scroll bar. I valori sono:</dd>
<dd>
<ul>
<li><code>auto</code>: solo quando necessario.</li>
<li><code>yes</code>: fornisci sempre una scroll bar.</li>
<li><code>no</code>: Non fornire mai una scroll bar.</li>
</ul>
</dd>
<dt>{{htmlattrdef("sandbox")}} {{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 either be an empty string (all the restrictions are applied), or a space-separated list of tokens that lift particular restrictions. Valid tokens are:
<ul>
<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-modals</code>: Allows the embedded browsing context to open modal windows.</li>
<li><code>allow-orientation-lock</code>: Allows the embedded browsing context to disable the ability to lock the screen orientation.</li>
<li><code>allow-pointer-lock</code>: Allows the embedded browsing context to use the <a href="/en-US/docs/WebAPI/Pointer_Lock">Pointer Lock API</a>.</li>
<li><code>allow-popups</code>: Allows popups (like from <code>window.open</code>, <code>target="_blank"</code>, <code>showModalDialog</code>). If this keyword is not used, that functionality will silently fail.</li>
<li><code>allow-popups-to-escape-sandbox</code>: Allows a sandboxed document to open new windows without forcing the sandboxing flags upon them. This will allow, for example, a third-party advertisement to be safely sandboxed without forcing the same restrictions upon a landing page.</li>
<li><code>allow-presentation</code>: Allows embedders to have control over whether an iframe can start a presentation session.</li>
<li><code>allow-same-origin</code>: Allows the content to be treated as being from its normal origin. If this keyword is not used, the embedded content is treated as being from a unique origin.</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>
<li><code>allow-top-navigation</code>: Allows the embedded browsing context to navigate (load) content to the top-level browsing context. 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 has the same origin as 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 that allows the embedded document to programmatically remove the <code>sandbox</code> attribute. Although it is accepted, this case is no more secure than not using the <code>sandbox</code> attribute.</li>
<li>Sandboxing in general is only of minimal help if the attacker can arrange for the potentially hostile content to be displayed in the user's browser outside a sandboxed <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>
<li>The <code>sandbox</code> attribute is not supported in Internet Explorer 9 and earlier versions.</li>
</ul>
</div>
</dd>
<dt>{{htmlattrdef("src")}}</dt>
<dd>L'URL della pagina da visualizzare all'interno dell'iframe.The URL of the page to embed. Usa <a href="/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins">'about:blank'</a> per pagine vuote affinchè esse siano conformi a Same-Origin Policy.</dd>
<dt>{{htmlattrdef("srcdoc")}} {{HTMLVersionInline(5)}} only</dt>
<dd>The content of the page that the embedded context is to contain. This attribute is expected to generally be used together with the <code>sandbox</code> attribute. If a browser supports the <code>srcdoc</code> attribute, it will override the content specified in the <code>src</code> attribute (if present). If a browser does NOT support the <code>srcdoc</code> attribute, it will show the file specified in the <code>src</code> attribute instead (if present). Note that if the content of the attribute contains a script tag then a closing script tag is required for the script to run, even if nothing else comes after the script.</dd>
<dt>{{htmlattrdef("width")}}</dt>
<dd>Indica la larghezza del frame {{HTMLVersionInline(5)}} in CSS pixels, o {{HTMLVersionInline(4.01)}} in pixels o in percentuale.</dd>
</dl>
<h2 id="Scripting">Scripting</h2>
<p>Dal DOM gli script possono accedere all'oggetto {{domxref("window")}} dell'iframe attraverso la proprietà <code>contentDocument</code>. Non é supportato dalle versioni di Internet Explorer inferiori alla IE8.</p>
<p>Dall'iframe, uno script puó accedere alla window del parent attravero {{domxref("Window.parent")}}.</p>
<p>Per via della <a href="/en-US/docs/Same_origin_policy_for_JavaScript" title="Same origin policy for JavaScript">same-origin policy</a>, gli script non posono accedere alle proprieta' degli altri oggetti window. Comunicazioni cross-domain possono sempre avvenire con {{domxref("Window.postMessage()")}}.</p>
<h2 id="Esempi">Esempi</h2>
<p>Di seguito alcuni esempi che dimostrano l'utilizzo dell'elemento <code><iframe></code>.</p>
<h3 id="Example1" name="Example1">Un semplice <code><iframe></code></h3>
<p>Se l'utente clicca su un bottone, il suo titolo dell'iframe viene letto e visualizzato su un alert.</p>
<h4 id="HTML">HTML</h4>
<div id="htmlOutputWrapper">
<pre class="brush: html"><iframe src="https://mdn-samples.mozilla.org/snippets/html/iframe-simple-contents.html" width="400" height="300">
<p>Your browser does not support iframes.</p>
</iframe></pre>
</div>
<h4 id="Risultato">Risultato</h4>
<p>{{ EmbedLiveSample('Example1', '', '', '', 'Web/HTML/Element/iframe') }}</p>
<h3 id="Example2" name="Example2">Aprire un link contenuto in un <code><iframe></code> in un altro tab</h3>
<p>In questo esempio, una mappa Google viene visualizzata in un iframe.</p>
<h4 id="HTML_2">HTML</h4>
<pre class="brush: html"><base target="_blank">
<iframe id="Example2"
title="Example2"
width="400"
height="300"
frameborder="0"
scrolling="no"
marginheight="0"
marginwidth="0"
src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=es-419&amp;geocode=&amp;q=buenos+aires&amp;sll=37.0625,-95.677068&amp;sspn=38.638819,80.859375&amp;t=h&amp;ie=UTF8&amp;hq=&amp;hnear=Buenos+Aires,+Argentina&amp;z=11&amp;ll=-34.603723,-58.381593&amp;output=embed">
</iframe>
<br>
<small>
<a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=es-419&amp;geocode=&amp;q=buenos+aires&amp;sll=37.0625,-95.677068&amp;sspn=38.638819,80.859375&amp;t=h&amp;ie=UTF8&amp;hq=&amp;hnear=Buenos+Aires,+Argentina&amp;z=11&amp;ll=-34.603723,-58.381593" style="color:#0000FF;text-align:left"> See bigger map </a>
</small></pre>
<h4 id="Risultato_2">Risultato</h4>
<p>{{ EmbedLiveSample('Example2', '', '', '', 'Web/HTML/Element/iframe') }}</p>
<h4 id="Risultato_3">Risultato</h4>
<p><a href="https://jsfiddle.net/pablofiumara/mCfAe/">Live example</a></p>
<h2 id="Note">Note</h2>
<div class="note">
<p>Starting in {{Gecko("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="Specifiche">Specifiche</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('Referrer Policy', '#referrer-policy-delivery-referrer-attribute', 'referrerpolicy attribute')}}</td>
<td>{{Spec2('Referrer Policy')}}</td>
<td>Added the <code>referrerpolicy</code> attribute.</td>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG', 'embedded-content.html#the-iframe-element', '<iframe>')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('HTML5 W3C', 'embedded-content-0.html#the-iframe-element', '<iframe>')}}</td>
<td>{{Spec2('HTML5 W3C')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('HTML4.01', 'present/frames.html#h-16.5', '<iframe>')}}</td>
<td>{{Spec2('HTML4.01')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('Screen Orientation')}}</td>
<td>{{Spec2('Screen Orientation')}}</td>
<td>Adds <code>allow-orientation-lock</code> to the <code>sandbox</code> attribute.</td>
</tr>
<tr>
<td>{{SpecName('Presentation','#sandboxing-and-the-allow-presentation-keyword','allow-presentation')}}</td>
<td>{{Spec2('Presentation')}}</td>
<td>Adds <code>allow-presentation</code> to the <code>sandbox</code> attribute</td>
</tr>
</tbody>
</table>
<h2 id="Compatibilitá_dei_Browser">Compatibilitá dei Browser</h2>
<p>{{CompatibilityTable}}</p>
<div id="compat-desktop">
<table class="compat-table">
<tbody>
<tr>
<th>Feature</th>
<th>Chrome</th>
<th>Edge</th>
<th>Firefox (Gecko)</th>
<th>Internet Explorer</th>
<th>Opera</th>
<th>Safari (WebKit)</th>
</tr>
<tr>
<td>Basic support</td>
<td>{{CompatChrome(1.0)}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}[1]</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}[2]</td>
</tr>
<tr>
<td><code>sandbox</code></td>
<td>{{CompatChrome(4.0)}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatGeckoDesktop("17.0")}}</td>
<td>10</td>
<td>15</td>
<td>5</td>
</tr>
<tr>
<td><code>srcdoc</code></td>
<td>{{CompatChrome(20.0)}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatGeckoDesktop("25.0")}}</td>
<td>{{CompatNo}}</td>
<td>15</td>
<td>6</td>
</tr>
<tr>
<td><code>allowfullscreen</code></td>
<td>{{CompatChrome(17.0)}} {{property_prefix("webkit")}}<br>
{{CompatChrome(27.0)}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatGeckoDesktop("9.0")}} {{property_prefix("moz")}}<br>
{{CompatGeckoDesktop("18.0")}}</td>
<td>
<p>11 {{property_prefix("ms")}}</p>
</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}} {{property_prefix("webkit")}}<br>
7</td>
</tr>
<tr>
<td><code>sandbox="allow-popups"</code></td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatGeckoDesktop("28.0")}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
</tr>
<tr>
<td><code>sandbox="allow-popups-to-escape-sandbox"</code></td>
<td>{{CompatChrome(46.0)}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatGeckoDesktop("49.0")}}</td>
<td>{{CompatUnknown}}</td>
<td>32</td>
<td>{{CompatUnknown}}</td>
</tr>
<tr>
<td><code>sandbox="allow-modals"</code></td>
<td>{{CompatUnknown}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatGeckoDesktop("49.0")}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
</tr>
<tr>
<td><code>referrerpolicy</code></td>
<td>{{CompatChrome(51.0)}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatGeckoDesktop("50.0")}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
</tr>
<tr>
<td><code>sandbox="allow-presentation"</code></td>
<td>{{CompatChrome(53.0)}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>
<p>{{CompatOpera(40)}}</p>
</td>
<td>{{CompatUnknown}}</td>
</tr>
</tbody>
</table>
</div>
<div id="compat-mobile">
<table class="compat-table">
<tbody>
<tr>
<th>Feature</th>
<th>Android</th>
<th>Android Webview</th>
<th>Edge</th>
<th>Firefox Mobile (Gecko)</th>
<th>IE Phone</th>
<th>Opera Mobile</th>
<th>Safari Mobile</th>
<th>Chrome for Android</th>
</tr>
<tr>
<td>Basic support</td>
<td>{{CompatVersionUnknown}}</td>
<td>
<p>{{CompatVersionUnknown}}</p>
</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}[1]</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>
<p>{{CompatVersionUnknown}}</p>
</td>
</tr>
<tr>
<td><code>sandbox</code></td>
<td>2.2</td>
<td>
<p>{{CompatVersionUnknown}}</p>
</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatGeckoMobile("17.0")}}</td>
<td>10</td>
<td>{{CompatNo}}</td>
<td>4.2</td>
<td>
<p>{{CompatVersionUnknown}}</p>
</td>
</tr>
<tr>
<td><code>srcdoc</code></td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatGeckoMobile("25.0")}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
</tr>
<tr>
<td><code>allowfullscreen</code></td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatGeckoMobile("9.0")}} {{property_prefix("moz")}}<br>
{{CompatGeckoMobile("18.0")}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatVersionUnknown}} {{property_prefix("webkit")}}<br>
7</td>
<td>{{CompatUnknown}}</td>
</tr>
<tr>
<td><code>sandbox="allow-popups"</code></td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatGeckoMobile("27.0")}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
</tr>
<tr>
<td><code>sandbox="allow-popups-to-escape-sandbox"</code></td>
<td>{{CompatNo}}</td>
<td>{{CompatChrome(46)}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatGeckoMobile("49.0")}}</td>
<td>{{CompatUnknown}}</td>
<td>32</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatChrome(46.0)}}</td>
</tr>
<tr>
<td><code>sandbox="allow-modals"</code></td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatGeckoMobile("49.0")}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
</tr>
<tr>
<td><code>referrerpolicy</code></td>
<td>{{CompatNo}}</td>
<td>{{CompatChrome(51.0)}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatGeckoMobile("50.0")}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatChrome(51.0)}}</td>
</tr>
<tr>
<td><code>sandbox="allow-presentation"</code></td>
<td>{{CompatNo}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>
<p>{{CompatOperaMobile(40)}}</p>
</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatChrome(53.0)}}</td>
</tr>
</tbody>
</table>
</div>
<p>[1] La proprieta' CSS {{cssxref("resize")}} non ha alcun effetto per via del {{bug("680823")}}.</p>
<p>[2] Safari has a well-known <a href="https://www.quirksmode.org/bugreports/archives/2005/02/hidden_iframes.html">bug</a> that prevents iframes from loading if the iframe element was hidden when added to the page. iframeElement.src = iframeElement.src should cause it to load the iframe.</p>
|