여러방법의 창닫기
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<STYLE>BODY {
FONT-SIZE: 12px
}
TD {
FONT-SIZE: 12px
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=1 cellPadding=5 width="95%" align=center bgColor=teal
border=0>
<TBODY>
<TR>
<TD style="FONT-WEIGHT: bold; COLOR: white" align=middle>종류</TD>
<TD style="FONT-WEIGHT: bold; COLOR: white" align=middle>샘플</TD>
<TD style="FONT-WEIGHT: bold; COLOR: white" align=middle>코드</TD></TR>
<TR>
<TD bgColor=white>일반적인 형태</TD>
<TD align=middle bgColor=lightyellow><A
href="javascript:window.close()">창닫기</A> </TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><a href="javascript:window.close()">창닫기</a></TEXTAREA>
</TD></TR>
<TR>
<TD bgColor=white>이미지 클릭으로 창닫기 </TD>
<TD align=middle bgColor=lightyellow><A
href="javascript:window.close()"><IMG src="이미지의 경로"
border=0></A> </TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><a href="javascript:window.close()"><img border="0" src="이미지의 경로">
</a></TEXTAREA> </TD></TR>
<TR>
<TD bgColor=white>버튼 클릭으로 창 닫기 </TD>
<TD align=middle bgColor=lightyellow><INPUT onclick=window.close() type=button value=창닫기>
</TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><input type="button" value="창닫기" onClick="window.close()"></TEXTAREA>
</TD></TR>
<TR>
<TD bgColor=white>프레임셋 문서 전체닫기 </TD>
<TD align=middle bgColor=lightyellow><A
href="javascript:top.window.close()">창닫기</A> </TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><a href="javascript:top.window.close()">창닫기</a></TEXTAREA>
</TD></TR>
<TR>
<TD bgColor=white>프레임셋 문서를 이미지클릭으로 닫기 </TD>
<TD align=middle bgColor=lightyellow><A
href="javascript:top.window.close()"><IMG
src="이미지의 경로"
border=0> </A></TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><a href="javascript:top.window.close()"><img border="0" src="이미지의 경로"></a></TEXTAREA>
</TD></TR>
<TR>
<TD bgColor=white>프레임셋 문서를 버튼클릭으로 닫기 </TD>
<TD align=middle bgColor=lightyellow><INPUT onclick=top.window.close() type=button value=창닫기>
</TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><input type="button" value="창닫기" onClick="top.window.close()"></TEXTAREA>
</TD></TR></TBODY></TABLE></BODY></HTML>
<META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<STYLE>BODY {
FONT-SIZE: 12px
}
TD {
FONT-SIZE: 12px
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=1 cellPadding=5 width="95%" align=center bgColor=teal
border=0>
<TBODY>
<TR>
<TD style="FONT-WEIGHT: bold; COLOR: white" align=middle>종류</TD>
<TD style="FONT-WEIGHT: bold; COLOR: white" align=middle>샘플</TD>
<TD style="FONT-WEIGHT: bold; COLOR: white" align=middle>코드</TD></TR>
<TR>
<TD bgColor=white>일반적인 형태</TD>
<TD align=middle bgColor=lightyellow><A
href="javascript:window.close()">창닫기</A> </TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><a href="javascript:window.close()">창닫기</a></TEXTAREA>
</TD></TR>
<TR>
<TD bgColor=white>이미지 클릭으로 창닫기 </TD>
<TD align=middle bgColor=lightyellow><A
href="javascript:window.close()"><IMG src="이미지의 경로"
border=0></A> </TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><a href="javascript:window.close()"><img border="0" src="이미지의 경로">
</a></TEXTAREA> </TD></TR>
<TR>
<TD bgColor=white>버튼 클릭으로 창 닫기 </TD>
<TD align=middle bgColor=lightyellow><INPUT onclick=window.close() type=button value=창닫기>
</TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><input type="button" value="창닫기" onClick="window.close()"></TEXTAREA>
</TD></TR>
<TR>
<TD bgColor=white>프레임셋 문서 전체닫기 </TD>
<TD align=middle bgColor=lightyellow><A
href="javascript:top.window.close()">창닫기</A> </TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><a href="javascript:top.window.close()">창닫기</a></TEXTAREA>
</TD></TR>
<TR>
<TD bgColor=white>프레임셋 문서를 이미지클릭으로 닫기 </TD>
<TD align=middle bgColor=lightyellow><A
href="javascript:top.window.close()"><IMG
src="이미지의 경로"
border=0> </A></TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><a href="javascript:top.window.close()"><img border="0" src="이미지의 경로"></a></TEXTAREA>
</TD></TR>
<TR>
<TD bgColor=white>프레임셋 문서를 버튼클릭으로 닫기 </TD>
<TD align=middle bgColor=lightyellow><INPUT onclick=top.window.close() type=button value=창닫기>
</TD>
<TD bgColor=#f5f5f5><TEXTAREA rows=3 cols=50><input type="button" value="창닫기" onClick="top.window.close()"></TEXTAREA>
</TD></TR></TBODY></TABLE></BODY></HTML>