JavaScript window.open() Method (original) (raw)

Last Updated : 5 Aug, 2025

The Javascript window.open() method is used to open a new tab or window with the specified URL and name. It supports various parameters that can be used to specify the type and URL location of the window to be opened.

**Syntax:

window.open(url, windowName, windowFeatures)

**Parameters: It has the following parameters as mentioned above and described below:

**Example 1: In this example, we will open a new window on a button click with the specified parameters.

HTML `