HTML onresize event properties
Browser Support
All major browsers support onresize event attributes
Definition and Usage
onresize property is triggered when the window is resized.
onresize attribute common to resize the window.
Differences between HTML 4.01 and HTML5
None.
grammar
<elementonresize=" script ">
Property Value
值 | 描述 |
---|---|
script | 规定该onresize事件触发时执行的脚本。 |
HTML Event Attributes