English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Dieser Artikel beschreibt die HTML iframe frameborder-Eigenschaft, die angibt, ob ein Rahmen um den <iframe> angezeigt wird. Ein Online-Beispiel zeigt, wie man den HTML iframe frameborder-Attribute verwendet, die Kompatibilität der Browser, die Syntaxdefinition und detaillierte Informationen über seine Attributwerte. HTML5 Der <iframe>-Frameborder-Attribute wird nicht unterstützt.
Demonstration of <iframe> without border usage: Online Example
<iframe src="https://de.oldtoolbag.com/" width="400" height="250" frameborder="0"> </iframe>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the frameborder attribute.
HTML5 The frameborder attribute of <iframe> is not supported. Please use CSS styles instead.
The frameborder attribute specifies whether a border is displayed around the <iframe>.
Tip:For practical reasons, it is best not to set this attribute; use CSS to apply it. Border.
<iframe frameborder="1|0">
Value | Description |
---|---|
1 | Default. Open border. |
0 | Close border. |