![]() |
VOOZH | about |
The HTML Window resizeTo() Method is used to resize a window to the specified width and height.
Syntax:
window.resizeTo(width, height)
Parameters:
Example: In this example, we will resize the window by using the Window resize To() method.
Output:
Supported Browsers: The browser supported by Window resizeTo() Method are listed below:
We have a Cheat Sheet on Javascript where we covered all the important topics of Javascript to check those please go through Javascript Cheat Sheet-A Basic guide to JavaScript.