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>