<iframe src="" frameborder="0">
Browser |
|
---|---|
Type |
The frameborder attribute of the IFRAME element specifies whether or not to display an iframe border.
<iframe src="example.html" frameborder="0"></iframe>
Attribute | Value | Explanation |
---|---|---|
frameborder=" " | 0 | the border is not displayed |
1 | the border is displayed (default) |
Example
<p>
Default
<br>
<iframe src="iexample_b.html" width="300" height="100">Alternate content</iframe>
</p>
<p>
Border is not displayed
<br>
<iframe src="iexample_b.html" width="300" height="100" frameborder="0">Alternate content</iframe>
</p>
- Output
-
Default
Border is not displayed