HTML | Window name Property
The Window name property is used for setting or returning the name of a window. It is generally used to modify the name of a window which has been created in the past. It returns a string which represents the name of the window.
Return Value: It returns a string value that represents window name.
Below program illustrates the Window name Property :
Returning the name of a window.
After clicking the button
Supported Browsers: the browser supported by HTML | Window name Property are listed below:
- Google Chrome 1 and above
- Edge 12 and above
- Internet Explorer 4 and above
- Firefox 1 and above
- Opera 12.1 and above
- Safari 1 and above