출처 : 웹디자인소스카페
<HTML>
<HEAD>
<TITLE> New Document TITLE>
<style type="text/css">
body,td,input,select {font-size:9pt;}
A:link {color:#FF0000; text-decoration:none;}
A:visited {color:#FF0000; text-decoration:none;}
A:active {color:#FF0000; text-decoration:none;}
A:hover {color:#FF0000; text-decoration:underline;}
style>
<script language="javascript">
function doit()
{
for(i=0; iscript>
HEAD>
<BODY>
<form name="check_form">
본인의 취미를 적어주세요!<br>
<input type="checkbox" name="hobby" value="fishing">낚시<br>
<input type="checkbox" name="hobby" value="internet">인터넷<br>
<input type="checkbox" name="hobby" value="study">공부<br>
<input type="button" value="확인" Onclick="doit()">
form>
BODY>
HTML>