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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <iframe> frameborder-Eigenschaft

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.

 HTML <iframe> Tag

Online Example

Demonstration of <iframe> without border usage: Online Example

<iframe src="https://de.oldtoolbag.com/" width="400" height="250" frameborder="0">
</iframe>
Test it out ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the frameborder attribute.

Definition and Usage

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.

CSS Example: iframe Border

Syntax

<iframe frameborder="1|0">

Attribute Value

ValueDescription
1Default. Open border.
0Close border.
 HTML <iframe> Tag