English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
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).
An <iframe> that looks like part of the included document:
<iframe src="demo-iframe.html" seamless></iframe>Test and see ‹/›
IEFirefoxOperaChromeSafari
Note:Only Chrome and Safari 6 Supports the seamless attribute of the <iframe> tag.
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).
The seamless attribute is an HTML5 new attributes.
In XHTML, attribute shorthand is prohibited, the seamless attribute must be defined as <iframe seamless="seamless">.
<iframe seamless>