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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: Attribut noresize für <frame>

Dieser Artikel beschreibt die HTML-Attribut noresize, das die Größenanpassung des <frame>-Elements durch den Benutzer verhindert. Standardmäßig kann die Größe jedes <frame> im <frameset> durch Ziehen der Rahmen zwischen den Rahmen angepasst werden. Dieses Attribut sperrt jedoch die Größe der Rahmen.

 HTML <frame> Tag

Online Example

Frame A has a fixed size and cannot be resized:

<frameset cols="50%,50%">
  <frame src="frame_a.htm" noresize="noresize">
  <frame src="frame_b.htm">
</frameset>
Test See ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the noresize attribute.

Definition and Usage

HTML5 The <frame> tag is not supported.

The noresize attribute specifies that the <frame> element cannot be resized by the user.


By default, you can resize each <frame> within a <frameset> by dragging the borders between frames. However, this attribute locks the size of the frames.

Syntax

<frame noresize="noresize">

Attribute Value

ValueDescription
noresizeUsers cannot resize the frames.
 HTML <frame> Tag