X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <iframe> seamless Attribute

HTML iframe Tag Reference HTML <iframe> tag

Example

An <iframe> that looks like it is a part of the containing document:

<iframe src="demo_iframe.htm" seamless></iframe>

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The seamless attribute of the <iframe> tag is only supported in Opera, Chrome and Safari.

Note: The seamless attribute is not supported in Opera 12 and earlier versions, or in Safari 5 and earlier versions.


Definition and Usage

The seamless attribute is a boolean attribute.

When present, it specifies that the <iframe> should look like it is a part of the containing document (no borders or scrollbars).


Differences Between HTML 4.01 and HTML5

The seamless attribute is new in HTML5.


Differences Between HTML and XHTML

In XHTML, attribute minimization is forbidden, and the seamless attribute must be defined as <iframe seamless="seamless">.


Syntax

<iframe seamless>


HTML iframe Tag Reference HTML <iframe> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook