HTML popup window code

Example HTML Popup Window Code:

CodeResult
    Open a popup window

This example actually uses JavaScript code for the popup window. You can also open a new window using HTML code without JavaScript (although using the HTML method, you aren't able to specify how the window will look). To open a new window using HTML, see HTML Open New Window.

Automatically Center Your Popup