English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag List

HTML: <iframe> seamless attribute

This article introduces the HTML iframe seamless attribute, which is a boolean attribute. The seamless attribute specifies that the <iframe> appears to be part of the included document (without borders and scrollbars).

 HTML <iframe> tag

Online Example

An <iframe> that looks like part of the included document:

<iframe src="demo-iframe.html" seamless></iframe>
Test and see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

Note:Only Chrome and Safari 6 Supports the seamless attribute of the <iframe> tag.

Definition and Usage

The seamless attribute is a boolean attribute.

The seamless attribute specifies that the <iframe> looks like part of the included document (without borders and scrollbars).

HTML 4.01 with HTML5differences

The seamless attribute is an HTML5 new attributes.

Differences between HTML and XHTML

In XHTML, attribute shorthand is prohibited, the seamless attribute must be defined as <iframe seamless="seamless">.

Syntax

<iframe seamless>

 HTML <iframe> tag