w3resource

HTML noresize attribute

noresize

The purpose of the HTML noresize attribute is to disallow users to resize frames.

Supported elements

HTML noresize attribute supports frame element.

Syntax

<frame noresize="value" >.....</frame>

Type of value

Predefined.

Value

noresize.

Default value

There is no default value of HTML noresize attribute.

Supported doctypes

HTML 4.01 frameset.

Example of HTML noresize attribute with frame

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example of HTML noresize attribute with frame</title>
</head>
<frameset rows="20%,*,20%"> 
<frame src="../../html/attributes/header.html" frameborder="1"  name="header" title="Header window" noresize="noresize"> 
<frame src="../../html/attributes/content.html" frameborder="0"  name="content" title="Content window" marginheight="10" noresize="noresize">
<frame src="../../html/attributes/footer.html" frameborder="0"  name="footer" title="footer window" marginheight="10" noresize="noresize">
</frameset>
</html>

Result

html noresize attribute with frame

View this example in a separate browser window

Example of HTML noresize attribute with frame

Previous: HTML nohref attribute
Next: HTML onblur attribute