- To open a new tab, we have to use _blank in the second parameter of the window.open() method.
- The return value of window.open() is a reference to the newly created window or tab or null if it failed.
- Do not add a third parameter to it as it will result in the opening of a new window rather than a tab
Supported Browsers: The browsers are supported by the window.open() method are listed below:
- Google Chrome
- Internet Explorer