HTML Attributes
HTML allow attribute
Restricts or delegates supported browser features for an iframe using a permissions policy. It cannot override a more restrictive policy imposed by the parent or response headers. Applicable elements include: <iframe>. Check each element’s value rules.
Formal Syntax & Structure
html syntaxhtml
allow="fullscreen"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| allow | permissions policy | Restricts or delegates supported browser features for an iframe using a permissions policy. It cannot override a more restrictive policy imposed by the parent or response headers. |
Working Example
Example Snippethtml
<iframe src="about:blank" title="Example frame" allow="fullscreen"></iframe>Browser Compatibility
Minimum supported versions across modern rendering engines
Chrome
60
Yes
Firefox
74
Yes
Safari
11.1
Yes
Checked desktop BCD snapshot: iframe allow; individual permission directives differ. Versions denote the recorded start of support (≤ means at least that early), not a guarantee of all behavior. Unresolved mirror and preview rows omitted.
HTML Living Standard