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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <frame> frameborder Attribut

Das Attribut frameborder legt fest, ob ein Raster um den Rahmen angezeigt werden soll. Aus praktischen Gründen ist es besser, dieses Attribut nicht zu setzen.

 HTML <frame> Tag

Online Example

Two-page pages without border:

<frameset cols="50%,50%">
  <frame src="frame_a.htm" frameborder="0">
  <frame src="frame_b.htm" frameborder="0">
</frameset>
Test it out ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the frameborder attribute.

Definition and Usage

HTML5 The <frame> tag is not supported.

The frameborder attribute specifies whether to display a border around the frame.

Tip:For practical reasons, it is best not to set this attribute; use CSS to apply it. Border Style and Color.

CSS Example: Frame Border

Syntax

<frame frameborder="1|0">

Attribute Value

ValueDescription
1With border (default).
0Without border.
 HTML <frame> Tag