HTML <iframe> tag's seamless attribute

Example

The following <iframe> looks like part of the containing document:

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

Try It Yourself

Browser Support

IE Firefox Chrome Safari Opera

Opera, Chrome, and Safari support the seamless attribute.

Note:Opera 12 and earlier versions do not support the seamless attribute, and Safari 5 and earlier versions also do not support this attribute.

Definition and Usage

The seamless attribute is a logical attribute.

When this attribute is set, it specifies that the <iframe> looks like part of the containing document (borderless or with scrollbars).

Differences between HTML 4.01 and HTML 5

seamless is a new attribute in HTML5.

Syntax

<iframe seamless>