Enlist the optional parameters to open a webpage.

When opening a webpage using JavaScript’s window.open() function, several optional parameters can be specified:

1. URL – Defines the web page to open.

2. Name – Specifies the name of the new window or tab.

3. Features – Defines window properties such as:

width and height for window dimensions

top and left for positioning

resizable=yes/no to allow resizing

scrollbars=yes/no to enable or disable scrolling

toolbar=yes/no to show or hide the browser toolbar
For example: window.open(“https://example.com”, “_blank”, “width=800,height=600”). These parameters allow customization of the browsing experience.