CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: <iframe> element

The <iframe> Element

Additional links:

Embedded Content

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


  • 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