English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This article introduces the HTML noresize attribute that specifies that the <frame> element cannot be resized by the user. By default, the size of each <frame> within a <frameset> can be adjusted by dragging the borders between frames. However, this attribute locks the size of the frames.
Frame A is fixed in size and cannot be resized:
<frameset cols="50%,50%"> <frame src="frame_a.htm" noresize="noresize"> <frame src="frame_b.htm"> </frameset>Test See ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the noresize attribute.
HTML5 The <frame> tag is not supported.
The noresize attribute specifies that the <frame> element cannot be resized by the user.
By default, the size of each <frame> in the <frameset> can be adjusted by dragging the borders between the frames. However, this attribute locks the size of the frames.
<frame noresize="noresize">
Value | Description |
---|---|
noresize | Users cannot resize the frames. |