I dont know about html tags but this is the javascript that will do it.
<SCRIPT type="text/javascript" language="javascript">
newwindow=window.open('','newwin', 'toolbar=yes,location=yes,scrollbars=yes,resize=yes,width=300,height=300')
newwindow.document.write("<HEAD><TITLE>Spawned Window<\/TITLE><\/HEAD><BODY><H2>This window os the result from the other window<\/H2>")
for ( i=0; i<100; i++ )
{
newwindow.document.writeln("<BR>Number : "+i)
}
newwindow.document.write("</BODY><\/HTML>")
newwindow.document.close()
</SCRIPT>