HTML - Iframe Element (nested browsing context) (inline frame)

> (World Wide) Web - (W3|WWW) > HyperText markup Language (HTML)

1 - About

The iframe element.

nested browsing context

Advertising

3 - Example

<iframe sandbox="allow-same-origin allow-forms allow-scripts" src="http://maps.example.com/embedded.html"></iframe>

4 - Javascript: Get the content of an iframe as a document

iFrameElement.contentWindow.document
// Note that iframe.contentDocument == iframe.contentWindow.document

5 - Documentation / Reference

web/html/iframe.txt ยท Last modified: 2019/02/09 11:29 by gerardnico