COVID-19 UPDATE: How Data Doctors is preparing & responding. Learn more >

How do I create a pop-up window?


What is the HTML for a pop-up for instance, on my custom site on, if i wanted a pop-up to come up for, then what would the HTML be?


This question was answered on September 9, 2003. Much of the information contained herein may have changed since posting.

Put the following code in your <HEAD> tag.

like this:


<SCRIPT LANGUAGE="Javascript">

function newwin()






Put the following in your <BODY> tag.

like this:

<BODY onload="javascript:newwin();">

Need Help with this Issue?

We help people with technology! It's what we do.
Schedule an Appointment with a location for help!


Posted by Student of Katharine Gibbs School - New York on September 9, 2003