<iframe>: The Inline Frame element - MDN Web Docs
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
OverviewTry itAttributesScriptingPositioning and scalingerror and load event behaviorExamplesAccessibility concernsInline frames, like <frame> elements, are included in the window.frames pseudo-array.With the DOM HTMLIFrameElement object, scripts can access the window object of the framed resource via the contentWindow property. The contentDocument property refers to the document inside the <iframe>, same as contentWindow.document.From the inside of a frame, a script can get a reference to its parent window with window.parent.Script access to a frame's content is subject to the same-origin policy. Scripts cannot access most properties in other window objects if the script was loaded from a different origin, including scripts inside a frame accessing the frame's parent. Cross-origin communication can be achieved usin…See more on developer.mozilla.org Inline frames, like <frame> elements, are included in the window.frames pseudo-array.With the DOM HTMLIFrameElement object, scripts can access the window object of the framed resource via the contentWindow property. The contentDocument property refers to the document inside the <iframe>, same as contentWindow.document. From the inside of a frame, a script can get a reference to its parent window with window.parent.Script access to a frame's content is subject to the same-origin policy. Scripts cannot access most properties in other window objects if the script was loaded from a different origin, including scripts inside a frame accessing the frame's parent. Cross-origin communication can be achieved usin…
Inline frames, like <frame> elements, are included in the window.frames pseudo-array.With the DOM HTMLIFrameElement object, scripts can access the window object of the framed resource via the contentWindow property. The contentDocument property refers to the document inside the <iframe>, same as contentWindow.document.
From the inside of a frame, a script can get a reference to its parent window with window.parent.Script access to a frame's content is subject to the same-origin policy. Scripts cannot access most properties in other window objects if the script was loaded from a different origin, including scripts inside a frame accessing the frame's parent. Cross-origin communication can be achieved usin…
DA: 5 PA: 62 MOZ Rank: 100