THE WORLD'S LARGEST WEB DEVELOPER SITE

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 »

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).


Browser Support

Attribute
seamless Not supported Not supported Not supported Not supported Not supported

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

COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: