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"allow", "height", "name", "src", and "width"
New HTML5 Attributes"sandbox" and "srcdoc"
New HTML 5.1 Attributes"allowfullscreen"
New HTML 5.2 Attributes"allowpaymentrequest", "allowusermedia", and "referrerpolicy"
Obsolete Attributes"vspace", "scrolling", "marginwidth", "marginheight", "longdesc", "hspace", "framespacing", "frameborder", "allowtransparency", and "align"


  • 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