The "iframe" Element

Additional links:

The "iframe" element represents a nested browsing context with the address of the page given by the "src" attribute.

Attributes for "iframe"
TypeAttribute List
'Standard' Attributes"amp-access", "amp-access-hide", "fallback", "height", "name", "placeholder", "src", and "width"
New HTML5 Attributes"sandbox" and "srcdoc"
New HTML 5.1 Attributes"allowfullscreen"
New HTML 5.2 Attributes"allowusermedia" and "referrerpolicy"
Obsolete Attributes"vspace", "scrolling", "marginwidth", "marginheight", "longdesc", "hspace", "frameborder", "allowtransparency", and "align"

Notes

  • As the content of "iframe", consider using something like: <p>Your browser does not support iframes.</p>

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem