noresize attribute belonged to the obsolete <frame> element.In a classic frameset, users could sometimes drag the separator between frames. Adding noresize to a frame prevented that frameset boundary from being resized.
<frameset cols="30%,70%">
<frame src="frame1src.html" noresize>
<frame src="frame2src.html">
</frameset>
There is no need for a modern equivalent of noresize in ordinary page layout. Use CSS Grid, Flexbox, width, height, min-width, max-width and responsive media queries to control layout dimensions. An iframe is sized like another replaced element in the page.
.embedded-page {
width: 100%;
min-height: 24rem;
border: 0;
}
Is noresize valid on iframe?
No. It was a legacy frame attribute, not a modern iframe sizing tool.
How should I size an iframe today?
Use its HTML dimensions when useful and CSS for responsive presentation.
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.