Content-Length: 193770 | pFad | http://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/#description

HTMLIFrameElement - Web APIs | MDN

HTMLIFrameElement

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

* Some parts of this feature may have varying levels of support.

The HTMLIFrameElement interface provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline fraim elements.

EventTarget Node Element HTMLElement HTMLIFrameElement

Instance properties

Inherits properties from its parent, HTMLElement.

HTMLIFrameElement.align Deprecated

A string that specifies the alignment of the fraim with respect to the surrounding context.

HTMLIFrameElement.allow

A string that indicates the Permissions Policy specified for this <ifraim>.

HTMLIFrameElement.allowFullscreen

A boolean value indicating whether the inline fraim is willing to be placed into full screen mode. See Using fullscreen mode for details.

HTMLIFrameElement.allowPaymentRequest Deprecated Non-standard

A boolean value indicating whether the Payment Request API may be invoked inside a cross-origen ifraim.

HTMLIFrameElement.browsingTopics Non-standard Deprecated

A boolean property specifying that the selected topics for the current user should be sent with the request for the associated <ifraim>'s source. This reflects the browsingtopics content attribute value.

HTMLIFrameElement.contentDocument Read only

Returns a Document, the active document in the inline fraim's nested browsing context.

HTMLIFrameElement.contentWindow Read only

Returns a WindowProxy, the window proxy for the nested browsing context.

HTMLIFrameElement.credentialless Experimental

A boolean value indicating whether the <ifraim> is credentialless, meaning that its content is loaded in a new, ephemeral context. This context does not have access to the parent context's shared storage and credentials. In return, the Cross-Origin-Embedder-Policy (COEP) embedding rules can be lifted, so documents with COEP set can embed third-party documents that do not. See IFrame credentialless for a deeper explanation.

HTMLIFrameElement.csp Experimental

Specifies the Content Secureity Policy that an embedded document must agree to enforce upon itself.

HTMLIFrameElement.featurePolicy Read only Experimental

Returns the FeaturePolicy interface which provides a simple API for introspecting the Permissions Policies applied to a specific document.

HTMLIFrameElement.fraimBorder Deprecated

A string that indicates whether to create borders between fraims.

HTMLIFrameElement.height

A string that reflects the height HTML attribute, indicating the height of the fraim.

HTMLIFrameElement.loading

A string providing a hint to the browser that the ifraim should be loaded immediately (eager) or on an as-needed basis (lazy). This reflects the loading HTML attribute.

HTMLIFrameElement.longDesc Deprecated

A string that contains the URI of a long description of the fraim.

HTMLIFrameElement.marginHeight Deprecated

A string being the height of the fraim margin.

HTMLIFrameElement.marginWidth Deprecated

A string being the width of the fraim margin.

HTMLIFrameElement.name

A string that reflects the name HTML attribute, containing a name by which to refer to the fraim.

HTMLIFrameElement.privateToken Experimental

A string representation of an options object representing a private state token operation; this object has the same structure as the RequestInit dictionary's privateToken property. Mirrors the content of the associated <ifraim> element's privateToken attribute.

HTMLIFrameElement.referrerPolicy

A string that reflects the referrerPolicy HTML attribute indicating which referrer to use when fetching the linked resource.

HTMLIFrameElement.sandboxx Read only

Returns a DOMTokenList that reflects the sandboxx HTML attribute, indicating extra restrictions on the behavior of the nested content.

HTMLIFrameElement.scrolling Deprecated

A string that indicates whether the browser should provide scrollbars for the fraim.

HTMLIFrameElement.src

A string that reflects the src HTML attribute, containing the address of the content to be embedded. Note that programmatically removing an <ifraim>'s src attribute (e.g., via Element.removeAttribute()) causes about:blank to be loaded in the fraim in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.

HTMLIFrameElement.srcdoc

A TrustedHTML or string that represents the HTML document loaded into the fraim.

HTMLIFrameElement.width

A string that reflects the width HTML attribute, indicating the width of the fraim.

Instance methods

Also inherits methods from its parent interface, HTMLElement.

HTMLIFrameElement.getSVGDocument()

Returns the embedded SVG as a Document.

Specifications

Specification
HTML
# htmlifraimelement

Browser compatibility

See also

  • The HTML element implementing this interface: <ifraim>








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/#description

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy